lol

Merge pull request #153789 from AndersonTorres/new-misc

spigot: 20200901 -> 20210527

authored by

Anderson Torres and committed by
GitHub
85a078a2 06235ce7

+23 -16
+23 -16
pkgs/tools/misc/spigot/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , buildPackages 4 - , fetchgit 5 - , autoreconfHook 3 + , fetchurl 4 + , cmake 6 5 , gmp 7 - , ncurses 8 6 , halibut 7 + , ncurses 9 8 , perl 10 9 }: 11 10 12 11 stdenv.mkDerivation rec { 13 12 pname = "spigot"; 14 - version = "20200901"; 15 - src = fetchgit { 16 - url = "https://git.tartarus.org/simon/spigot.git"; 17 - rev = "9910e5bdc203bae6b7bbe1ed4a93f13755c1cae"; 18 - sha256 = "1az6v9gk0g2k197lr288nmr9jv20bvgc508vn9ic3v7mav7hf5bf"; 13 + version = "20210527"; 14 + srcVersion = "20210527.7dd3cfd"; 15 + 16 + src = fetchurl { 17 + url = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/${pname}-${srcVersion}.tar.gz"; 18 + hash = "sha256-EBS3lgfLtsyBQ8mzoJPyZhRBJNmkVSeF5XecGgcvqtw="; 19 19 }; 20 20 21 - nativeBuildInputs = [ autoreconfHook halibut perl ]; 21 + nativeBuildInputs = [ 22 + cmake 23 + halibut 24 + perl 25 + ]; 22 26 23 - configureFlags = [ "--with-gmp" ]; 27 + buildInputs = [ 28 + gmp 29 + ncurses 30 + ]; 24 31 25 - buildInputs = [ gmp ncurses ]; 32 + outputs = [ "out" "man" ]; 26 33 27 34 strictDeps = true; 28 35 29 36 meta = with lib; { 37 + homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/"; 30 38 description = "A command-line exact real calculator"; 31 - homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/"; 32 - license = lib.licenses.mit; 33 - platforms = lib.platforms.all; 34 - maintainers = with maintainers; [ mcbeth ]; 39 + license = licenses.mit; 40 + maintainers = with maintainers; [ AndersonTorres mcbeth ]; 41 + platforms = platforms.unix; 35 42 }; 36 43 }