fortune-mod: 2.10.0 -> 3.2.0

This commit is contained in:
Vonfry 2020-10-29 19:22:09 +08:00
parent baca38fd3f
commit 7b117f15b1
No known key found for this signature in database
GPG key ID: 7E3128A1AAF71FCC

View file

@ -2,11 +2,13 @@
stdenv.mkDerivation rec {
pname = "fortune-mod";
version = "2.10.0";
version = "3.2.0";
# We use fetchurl instead of fetchFromGitHub because the release pack has some
# special files.
src = fetchurl {
url = "https://www.shlomifish.org/open-source/projects/fortune-mod/arcs/fortune-mod-${version}.tar.xz";
sha256 = "07g50hij87jb7m40pkvgd47qfvv4s805lwiz79jbqcxzd7zdyax7";
url = "https://github.com/shlomif/fortune-mod/releases/download/${pname}-${version}/${pname}-${version}.tar.xz";
sha256 = "0j554ja4min5rbqni8qn5gzk4xiyd643b8r50jyi32pcs88dwp7n";
};
nativeBuildInputs = [ cmake perl ];
@ -31,12 +33,13 @@ stdenv.mkDerivation rec {
)
my_exe(
--
--
'') ];
meta = with stdenv.lib; {
description = "A program that displays a pseudorandom message from a database of quotations";
license = licenses.bsdOriginal;
platforms = platforms.unix;
maintainers = with maintainers; [ vonfry ];
};
}