collection.scm
| 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
| 3 | ;;; |
| 4 | ;;; This file is part of GNU Guix. |
| 5 | ;;; |
| 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
| 7 | ;;; under the terms of the GNU General Public License as published by |
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
| 9 | ;;; your option) any later version. |
| 10 | ;;; |
| 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ;;; GNU General Public License for more details. |
| 15 | ;;; |
| 16 | ;;; You should have received a copy of the GNU General Public License |
| 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
| 18 | |
| 19 | (define-module (more packages collection) |
| 20 | #:use-module ((guix licenses) #:prefix license:) |
| 21 | #:use-module (gnu packages) |
| 22 | #:use-module (guix packages) |
| 23 | #:use-module (guix download) |
| 24 | #:use-module (guix git-download) |
| 25 | #:use-module (guix utils) |
| 26 | #:use-module (guix build-system gnu) |
| 27 | #:use-module (gnu packages compression) |
| 28 | #:use-module (gnu packages gd) |
| 29 | #:use-module (gnu packages perl) |
| 30 | #:use-module (gnu packages web) |
| 31 | #:use-module (gnu packages xml) |
| 32 | #:use-module (more packages perl)) |
| 33 | |
| 34 | (define-public unrar |
| 35 | (package |
| 36 | (name "unrar") |
| 37 | (version "0.0.1") |
| 38 | (source (origin |
| 39 | (method url-fetch) |
| 40 | (uri "http://deb.debian.org/debian/pool/main/u/unrar-free/unrar-free_0.0.1+cvs20140707.orig.tar.gz") |
| 41 | (sha256 |
| 42 | (base32 |
| 43 | "18yvsa6k3pc0axl7j089jf5d8hya1zb68s2igm5z3xxbcagrzfih")))) |
| 44 | (build-system gnu-build-system) |
| 45 | (home-page "") |
| 46 | (synopsis "") |
| 47 | (description "") |
| 48 | (license license:gpl2+))) |
| 49 | |
| 50 | (define-public gcstar |
| 51 | (package |
| 52 | (name "gcstar") |
| 53 | (version "1.7.1") |
| 54 | (source (origin |
| 55 | (method url-fetch) |
| 56 | (uri (string-append "http://download.gna.org/gcstar/gcstar-" |
| 57 | version ".tar.gz")) |
| 58 | (sha256 |
| 59 | (base32 |
| 60 | "0gcz88slgm14rlsw84gpka7hpdmrdvpdvxp9qvs45gv1383r0b6s")))) |
| 61 | (build-system gnu-build-system) |
| 62 | (arguments |
| 63 | `(#:phases |
| 64 | (modify-phases %standard-phases |
| 65 | (delete 'configure) |
| 66 | (delete 'build) |
| 67 | (delete 'check) |
| 68 | (replace 'install |
| 69 | (lambda* (#:key outputs #:allow-other-keys) |
| 70 | (mkdir-p %output) |
| 71 | (format #t "calling install script\n") |
| 72 | (zero? (system* "perl" "install" "--verbose" |
| 73 | (string-append "--prefix=" (assoc-ref outputs "out"))))))))) |
| 74 | (native-inputs |
| 75 | `(("perl" ,perl))) |
| 76 | (propagated-inputs |
| 77 | `(("perl-gtk2" ,perl-gtk2) |
| 78 | ("perl-pango" ,perl-pango) |
| 79 | ("perl-archive-zip" ,perl-archive-zip) |
| 80 | ("perl-date-calc" ,perl-date-calc) |
| 81 | ("perl-datetime-format-strptime" ,perl-datetime-format-strptime) |
| 82 | ("perl-libwww" ,perl-libwww) |
| 83 | ("perl-switch" ,perl-switch) |
| 84 | ("perl-gd" ,perl-gd) |
| 85 | ("perl-http-cookies" ,perl-http-cookies) |
| 86 | ("perl-http-date" ,perl-http-date) |
| 87 | ("perl-http-message" ,perl-http-message) |
| 88 | ("perl-xml-libxml" ,perl-xml-libxml) |
| 89 | ("perl-xml-simple" ,perl-xml-simple) |
| 90 | ("perl-xml-parser" ,perl-xml-parser) |
| 91 | ("perl-glib" ,perl-glib))) |
| 92 | (home-page "http://www.gcstar.org") |
| 93 | (synopsis "Collection management") |
| 94 | (description |
| 95 | "GCstar is a free open source application for managing your collections. |
| 96 | Detailed information on each item can be automatically retrieved from the |
| 97 | internet and you can store additional data, such as the location or who you've |
| 98 | lent it to. You may also search and filter your collection by many criteria.") |
| 99 | (license license:gpl2+))) |
| 100 |