From 65c327325086fc6ffce0c72af3d09b1474b0a41f Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 22 May 2018 14:17:32 -0400 Subject: [PATCH] form: init at 4.2.0 (#40693) --- .../science/math/form/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/applications/science/math/form/default.nix diff --git a/pkgs/applications/science/math/form/default.nix b/pkgs/applications/science/math/form/default.nix new file mode 100644 index 00000000000..88f2367e334 --- /dev/null +++ b/pkgs/applications/science/math/form/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, gmp, zlib }: + +stdenv.mkDerivation rec { + version = "4.2.0"; + name = "form-${version}"; + + # This tarball is released by author, it is not downloaded from tag, so can't use fetchFromGitHub + src = fetchurl { + url = "https://github.com/vermaseren/form/releases/download/v4.2.0/form-4.2.0.tar.gz"; + sha256 = "19528aphn4hvm151lyyhd7wz0bp2s3rla8jv6s7d8jwfp5ljzysm"; + }; + + buildInputs = [ gmp zlib ]; + + meta = with stdenv.lib; { + description = "The FORM project for symbolic manipulation of very big expressions"; + homepage = https://www.nikhef.nl/~form/; + license = licenses.gpl3; + maintainers = [ maintainers.veprbl ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6899d907937..bd8cb340425 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20461,6 +20461,8 @@ with pkgs; texinfo = texinfo4; }; + form = callPackage ../applications/science/math/form { }; + fricas = callPackage ../applications/science/math/fricas { }; gap = callPackage ../applications/science/math/gap { };