chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / sp / spigot / package.nix
blobda8393210ca133066f1337545e8efe401c5d25aa
1 { lib
2 , stdenv
3 , fetchurl
4 , callPackage
5 , cmake
6 , gmp
7 , halibut
8 , ncurses
9 , perl
12 stdenv.mkDerivation (finalAttrs: {
13   pname = "spigot";
14   version = "20220606.eb585f8";
16   src = fetchurl {
17     url = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/spigot-${finalAttrs.version}.tar.gz";
18     hash = "sha256-JyNNZo/HUPWv5rYtlNYp8Hl0C7i3yxEyKm+77ysN7Ao=";
19   };
21   nativeBuildInputs = [
22     cmake
23     halibut
24     perl
25   ];
27   buildInputs = [
28     gmp
29     ncurses
30   ];
32   outputs = [ "out" "man" ];
34   strictDeps = true;
36   passthru.tests = {
37     approximation = callPackage ./tests/approximation.nix {
38       spigot = finalAttrs.finalPackage;
39     };
40   };
42   meta = {
43     homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/";
44     description = "Command-line exact real calculator";
45     mainProgram = "spigot";
46     license = lib.licenses.mit;
47     maintainers = with lib.maintainers; [ AndersonTorres ];
48     platforms = lib.platforms.unix;
49   };