2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-07-14 16:36:47 +01:00
|
|
|
, fetchFromGitLab
|
|
|
|
, perlPackages
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gcstar";
|
2021-05-11 22:39:38 +01:00
|
|
|
version = "1.7.3";
|
2020-07-14 16:36:47 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "Kerenoc";
|
|
|
|
repo = "GCstar";
|
|
|
|
rev = "v${version}";
|
2021-05-11 22:39:38 +01:00
|
|
|
sha256 = "1hah8ijh9mvcgbh36y3d3s6y79mzz27w24f2i29qllv7cayf6129";
|
2020-07-14 16:36:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = with perlPackages; [
|
|
|
|
perl
|
|
|
|
ArchiveZip
|
|
|
|
DateCalc
|
|
|
|
DateTimeFormatStrptime
|
|
|
|
Glib
|
2021-05-11 22:39:38 +01:00
|
|
|
Gtk3
|
|
|
|
Gtk3SimpleList
|
2020-07-14 16:36:47 +01:00
|
|
|
GD
|
|
|
|
GDGraph
|
|
|
|
GDText
|
|
|
|
HTMLParser
|
|
|
|
JSON
|
|
|
|
ImageExifTool
|
|
|
|
librelative
|
2021-03-16 17:21:27 +00:00
|
|
|
LWP
|
2020-07-14 16:36:47 +01:00
|
|
|
LWPProtocolHttps
|
|
|
|
MP3Info
|
|
|
|
MP3Tag
|
|
|
|
NetFreeDB
|
|
|
|
OggVorbisHeaderPurePerl
|
|
|
|
Pango
|
|
|
|
XMLSimple
|
|
|
|
XMLParser
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
cd gcstar
|
|
|
|
perl install --text --prefix=$out
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/gcstar --prefix PERL5LIB : $PERL5LIB
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-07-14 16:36:47 +01:00
|
|
|
homepage = "https://gitlab.com/Kerenoc/GCstar";
|
|
|
|
description = "Manage your collections of movies, games, books, music and more";
|
|
|
|
longDescription = ''
|
|
|
|
GCstar is an application for managing your collections.
|
|
|
|
It supports many types of collections, including movies, books, games, comics, stamps, coins, and many more.
|
|
|
|
You can even create your own collection type for whatever unique thing it is that you collect!
|
|
|
|
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.
|
|
|
|
You may also search and filter your collections by many criteria.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ dasj19 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|