Merge pull request #153789 from AndersonTorres/new-misc
spigot: 20200901 -> 20210527
This commit is contained in:
commit
85a078a25d
1 changed files with 23 additions and 16 deletions
|
@ -1,36 +1,43 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPackages
|
||||
, fetchgit
|
||||
, autoreconfHook
|
||||
, fetchurl
|
||||
, cmake
|
||||
, gmp
|
||||
, ncurses
|
||||
, halibut
|
||||
, ncurses
|
||||
, perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spigot";
|
||||
version = "20200901";
|
||||
src = fetchgit {
|
||||
url = "https://git.tartarus.org/simon/spigot.git";
|
||||
rev = "9910e5bdc203bae6b7bbe1ed4a93f13755c1cae";
|
||||
sha256 = "1az6v9gk0g2k197lr288nmr9jv20bvgc508vn9ic3v7mav7hf5bf";
|
||||
version = "20210527";
|
||||
srcVersion = "20210527.7dd3cfd";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/${pname}-${srcVersion}.tar.gz";
|
||||
hash = "sha256-EBS3lgfLtsyBQ8mzoJPyZhRBJNmkVSeF5XecGgcvqtw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook halibut perl ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
halibut
|
||||
perl
|
||||
];
|
||||
|
||||
configureFlags = [ "--with-gmp" ];
|
||||
buildInputs = [
|
||||
gmp
|
||||
ncurses
|
||||
];
|
||||
|
||||
buildInputs = [ gmp ncurses ];
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command-line exact real calculator";
|
||||
homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with maintainers; [ mcbeth ];
|
||||
description = "A command-line exact real calculator";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres mcbeth ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue