diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-10-30 22:04:00 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-10-31 20:29:23 -0300 |
commit | 5ff9d480701808efed88b1e041f58dee6056b8e6 (patch) | |
tree | 190fac8b6d3d1dee96ef670e9d3558992c0b1d1e /pkgs/by-name/sp | |
parent | 3ac16074ac42b0d62f7697fe7725c982f171f1b6 (diff) |
spigot: migrate to by-name
Diffstat (limited to 'pkgs/by-name/sp')
-rw-r--r-- | pkgs/by-name/sp/spigot/package.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/sp/spigot/package.nix b/pkgs/by-name/sp/spigot/package.nix new file mode 100644 index 0000000000000..5f50307537b63 --- /dev/null +++ b/pkgs/by-name/sp/spigot/package.nix @@ -0,0 +1,42 @@ +{ 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; + }; +}) |