git.iko.soy/typeable/nixpkgs
on master help sign in
gcstar: init at 1.7.2
commite672a6511276d8af3b70024f566367f022aa3cab authorDaniel Șerbănescu <daniel@serbanescu.dk> dateTue 14 Jul 2020, 17:36 (6 years ago) parent0c3b48b
3 files changed+154
pkgs/applications/misc/gcstar/default.nix+72 pkgs/top-level/all-packages.nix+2 pkgs/top-level/perl-packages.nix+80
pkgs/applications/misc/gcstar/default.nixnew file+72
@@ -0,0 +1,72 @@
1+{ stdenv
2+, fetchFromGitLab
3+, perlPackages
4+, wrapGAppsHook
5+}:
6+
7+stdenv.mkDerivation rec {
8+ pname = "gcstar";
9+ version = "1.7.2";
10+
11+ src = fetchFromGitLab {
12+ owner = "Kerenoc";
13+ repo = "GCstar";
14+ rev = "v${version}";
15+ sha256 = "1vqfff33sssvlvsva1dflggmwl00j5p64sn1669f9wrbvjkxgpv4";
16+ };
17+
18+ nativeBuildInputs = [ wrapGAppsHook ];
19+
20+ buildInputs = with perlPackages; [
21+ perl
22+ ArchiveZip
23+ DateCalc
24+ DateTimeFormatStrptime
25+ Glib
26+ Gtk2
27+ GD
28+ GDGraph
29+ GDText
30+ HTMLParser
31+ JSON
32+ ImageExifTool
33+ librelative
34+ LWPUserAgent
35+ LWPProtocolHttps
36+ MP3Info
37+ MP3Tag
38+ NetFreeDB
39+ OggVorbisHeaderPurePerl
40+ Pango
41+ XMLSimple
42+ XMLParser
43+ ];
44+
45+ installPhase = ''
46+ runHook preInstall
47+
48+ cd gcstar
49+ perl install --text --prefix=$out
50+
51+ runHook postInstall
52+ '';
53+
54+ postFixup = ''
55+ wrapProgram $out/bin/gcstar --prefix PERL5LIB : $PERL5LIB
56+ '';
57+
58+ meta = with stdenv.lib; {
59+ homepage = "https://gitlab.com/Kerenoc/GCstar";
60+ description = "Manage your collections of movies, games, books, music and more";
61+ longDescription = ''
62+ GCstar is an application for managing your collections.
63+ It supports many types of collections, including movies, books, games, comics, stamps, coins, and many more.
64+ You can even create your own collection type for whatever unique thing it is that you collect!
65+ Detailed information on each item can be automatically retrieved from the internet and you can store additional data, such as the location or who you've lent it to.
66+ You may also search and filter your collections by many criteria.
67+ '';
68+ license = licenses.gpl2Plus;
69+ maintainers = with maintainers; [ dasj19 ];
70+ platforms = platforms.all;
71+ };
72+}
pkgs/top-level/all-packages.nix+2
@@ -20006,6 +20006,8 @@ in
2000620006
2000720007 gcal = callPackage ../applications/misc/gcal { };
2000820008
20009+ gcstar = callPackage ../applications/misc/gcstar { };
20010+
2000920011 geany = callPackage ../applications/editors/geany { };
2001020012 geany-with-vte = callPackage ../applications/editors/geany/with-vte.nix { };
2001120013
pkgs/top-level/perl-packages.nix+80
@@ -2218,6 +2218,20 @@ let
22182218 };
22192219 };
22202220
2221+ CDDBFile = buildPerlPackage {
2222+ pname = "CDDB-File";
2223+ version = "1.05";
2224+ src = fetchurl {
2225+ url = mirror://cpan/authors/id/T/TM/TMTM/CDDB-File-1.05.tar.gz;
2226+ sha256 = "1jf7xhd4w9iwabhz2wajh6fid3nyvkid9q5gdhyff52w86f45rpb";
2227+ };
2228+ meta = {
2229+ description = "Parse a CDDB/freedb data file";
2230+ license = stdenv.lib.licenses.artistic1;
2231+ };
2232+ };
2233+
2234+
22212235 CGI = buildPerlPackage {
22222236 pname = "CGI";
22232237 version = "4.49";
@@ -13892,6 +13906,41 @@ let
1389213906 };
1389313907 };
1389413908
13909+ MP3Info = buildPerlPackage {
13910+ pname = "MP3-Info";
13911+ version = "1.26";
13912+ src = fetchurl {
13913+ url = mirror://cpan/authors/id/J/JM/JMERELO/MP3-Info-1.26.tar.gz;
13914+ sha256 = "1rwbrsdw6y6jgcjvrlji6fbcvwl4wlka3mkhlw12a7s2683k8qjp";
13915+ };
13916+ meta = {
13917+ description = "Manipulate / fetch info from MP3 audio files";
13918+ license = with stdenv.lib.licenses; [ artistic1 ];
13919+ };
13920+ };
13921+
13922+ MP3Tag = buildPerlPackage {
13923+ pname = "MP3-Tag";
13924+ version = "1.15";
13925+ src = fetchurl {
13926+ url = mirror://cpan/authors/id/I/IL/ILYAZ/modules/MP3-Tag-1.15.zip;
13927+ sha256 = "1lanbwv97sfsb7h4vsg1v0dv3yghpz01nf3rzl4a9p3ycgs4ib5a";
13928+ };
13929+ buildInputs = [ pkgs.unzip ];
13930+ propagatedBuildInputs = [ CompressZlib ExtUtilsMakeMaker ];
13931+ postPatch = ''
13932+ substituteInPlace Makefile.PL --replace "'PL_FILES'" "#'PL_FILES'"
13933+ '';
13934+ postFixup = ''
13935+ perl data_pod.PL PERL5LIB:$PERL5LIB
13936+ '';
13937+ outputs = [ "out" ];
13938+ meta = {
13939+ description = "Module for reading tags of MP3 audio files";
13940+ license = with stdenv.lib.licenses; [ artistic1 ];
13941+ };
13942+ };
13943+
1389513944 Mouse = buildPerlModule {
1389613945 pname = "Mouse";
1389713946 version = "2.5.10";
@@ -14324,6 +14373,21 @@ let
1432414373 };
1432514374 };
1432614375
14376+ NetFreeDB = buildPerlPackage {
14377+ pname = "Net-FreeDB";
14378+ version = "0.10";
14379+ src = fetchurl {
14380+ url = mirror://cpan/authors/id/D/DS/DSHULTZ/Net-FreeDB-0.10.tar.gz;
14381+ sha256 = "11dfi14qnzsnmr71cygir85zfj15n08b7d5g0i4cj5pb70if2hzp";
14382+ };
14383+ buildInputs = [ TestMost TestDeep TestWarn TestException TestDifferences ];
14384+ propagatedBuildInputs = [ CDDBFile Moo libnet ];
14385+ meta = {
14386+ description = "Perl interface to freedb server(s)";
14387+ license = with stdenv.lib.licenses; [ artistic1 ];
14388+ };
14389+ };
14390+
1432714391 NetHTTP = buildPerlPackage {
1432814392 pname = "Net-HTTP";
1432914393 version = "6.19";
@@ -14872,6 +14936,22 @@ let
1487214936 };
1487314937 };
1487414938
14939+ OggVorbisHeaderPurePerl = buildPerlPackage {
14940+ pname = "Ogg-Vorbis-Header-PurePerl";
14941+ version = "1.0";
14942+ src = fetchurl {
14943+ url = mirror://cpan/authors/id/D/DA/DANIEL/Ogg-Vorbis-Header-PurePerl-1.0.tar.gz;
14944+ sha256 = "0kjqswnwhp7yf7czvhggdyp2pgg5wa58b4jwpn8j3km7h2ll8pmy";
14945+ };
14946+ buildInputs = [ TestMore ];
14947+ # The testing mechanism is erorrneous upstream. See http://matrix.cpantesters.org/?dist=Ogg-Vorbis-Header-PurePerl+1.0
14948+ doCheck = false;
14949+ meta = {
14950+ description = "An object-oriented interface to Ogg Vorbis information and comment fields";
14951+ license = with stdenv.lib.licenses; [ artistic1 ];
14952+ };
14953+ };
14954+
1487514955 OLEStorage_Lite = buildPerlPackage {
1487614956 pname = "OLE-Storage_Lite";
1487714957 version = "0.20";