5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
42 lines
784 B
Nix
42 lines
784 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, cmake
|
|
, gmp
|
|
, halibut
|
|
, ncurses
|
|
, perl
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "spigot";
|
|
version = "20220606.eb585f8";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/spigot-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-JyNNZo/HUPWv5rYtlNYp8Hl0C7i3yxEyKm+77ysN7Ao=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
halibut
|
|
perl
|
|
];
|
|
|
|
buildInputs = [
|
|
gmp
|
|
ncurses
|
|
];
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/";
|
|
description = "A command-line exact real calculator";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|