fortune-mod: 2.10.0 -> 3.2.0
This commit is contained in:
parent
baca38fd3f
commit
7b117f15b1
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user