
This reverts commit 65a333600d5c88a98d674f637d092807cfc12253. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e4587d75882aebc21a04bee960418f8ce9
77 lines
1.7 KiB
Nix
77 lines
1.7 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
perlPackages,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gcstar";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "Kerenoc";
|
|
repo = "GCstar";
|
|
rev = "v${version}";
|
|
hash = "sha256-37yjKI4l/nUzDnra1AGxDQxNafMsLi1bSifG6pz33zg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook3 ];
|
|
|
|
buildInputs = with perlPackages; [
|
|
perl
|
|
ArchiveZip
|
|
DateCalc
|
|
DateTimeFormatStrptime
|
|
Glib
|
|
Gtk3
|
|
Gtk3SimpleList
|
|
GD
|
|
GDGraph
|
|
GDText
|
|
HTMLParser
|
|
JSON
|
|
ImageExifTool
|
|
librelative
|
|
LWP
|
|
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
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/Kerenoc/GCstar";
|
|
description = "Manage your collections of movies, games, books, music and more";
|
|
mainProgram = "gcstar";
|
|
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;
|
|
};
|
|
}
|