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 perl-compression) |
31 | #:use-module (gnu packages web) |
32 | #:use-module (gnu packages xml) |
33 | #:use-module (more packages perl)) |
34 | |
35 | (define-public unrar |
36 | (package |
37 | (name "unrar") |
38 | (version "0.0.1") |
39 | (source (origin |
40 | (method url-fetch) |
41 | (uri "http://deb.debian.org/debian/pool/main/u/unrar-free/unrar-free_0.0.1+cvs20140707.orig.tar.gz") |
42 | (sha256 |
43 | (base32 |
44 | "18yvsa6k3pc0axl7j089jf5d8hya1zb68s2igm5z3xxbcagrzfih")))) |
45 | (build-system gnu-build-system) |
46 | (home-page "") |
47 | (synopsis "") |
48 | (description "") |
49 | (license license:gpl2+))) |
50 | |
51 | (define-public gcstar |
52 | (package |
53 | (name "gcstar") |
54 | (version "1.7.1") |
55 | (source (origin |
56 | (method url-fetch) |
57 | (uri (string-append "http://download.gna.org/gcstar/gcstar-" |
58 | version ".tar.gz")) |
59 | (sha256 |
60 | (base32 |
61 | "0gcz88slgm14rlsw84gpka7hpdmrdvpdvxp9qvs45gv1383r0b6s")))) |
62 | (build-system gnu-build-system) |
63 | (arguments |
64 | `(#:phases |
65 | (modify-phases %standard-phases |
66 | (delete 'configure) |
67 | (delete 'build) |
68 | (delete 'check) |
69 | (replace 'install |
70 | (lambda* (#:key outputs #:allow-other-keys) |
71 | (mkdir-p %output) |
72 | (format #t "calling install script\n") |
73 | (zero? (system* "perl" "install" "--verbose" |
74 | (string-append "--prefix=" (assoc-ref outputs "out"))))))))) |
75 | (native-inputs |
76 | `(("perl" ,perl))) |
77 | (propagated-inputs |
78 | `(("perl-gtk2" ,perl-gtk2) |
79 | ("perl-pango" ,perl-pango) |
80 | ("perl-archive-zip" ,perl-archive-zip) |
81 | ("perl-date-calc" ,perl-date-calc) |
82 | ("perl-datetime-format-strptime" ,perl-datetime-format-strptime) |
83 | ("perl-libwww" ,perl-libwww) |
84 | ("perl-switch" ,perl-switch) |
85 | ("perl-gd" ,perl-gd) |
86 | ("perl-http-cookies" ,perl-http-cookies) |
87 | ("perl-http-date" ,perl-http-date) |
88 | ("perl-http-message" ,perl-http-message) |
89 | ("perl-xml-libxml" ,perl-xml-libxml) |
90 | ("perl-xml-simple" ,perl-xml-simple) |
91 | ("perl-xml-parser" ,perl-xml-parser) |
92 | ("perl-glib" ,perl-glib))) |
93 | (home-page "http://www.gcstar.org") |
94 | (synopsis "Collection management") |
95 | (description |
96 | "GCstar is a free open source application for managing your collections. |
97 | Detailed information on each item can be automatically retrieved from the |
98 | internet and you can store additional data, such as the location or who you've |
99 | lent it to. You may also search and filter your collection by many criteria.") |
100 | (license license:gpl2+))) |
101 |