diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-06-24 00:06:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 00:06:27 +0000 |
commit | d437a6cac2086ead6232bc4d84c25c58a33c1b59 (patch) | |
tree | 4831dd7d87ea3c3bf24bda66e1d739bc248f6717 /pkgs/applications/science/math/4ti2/default.nix | |
parent | b68a0d2f5e90ebc827148e2827765376029fde95 (diff) | |
parent | 65db0350fe3962c41b8604046ec9166976f80793 (diff) | |
download | nixpkgs-d437a6cac2086ead6232bc4d84c25c58a33c1b59.tar nixpkgs-d437a6cac2086ead6232bc4d84c25c58a33c1b59.tar.gz nixpkgs-d437a6cac2086ead6232bc4d84c25c58a33c1b59.tar.bz2 nixpkgs-d437a6cac2086ead6232bc4d84c25c58a33c1b59.tar.lz nixpkgs-d437a6cac2086ead6232bc4d84c25c58a33c1b59.tar.xz nixpkgs-d437a6cac2086ead6232bc4d84c25c58a33c1b59.tar.zst nixpkgs-d437a6cac2086ead6232bc4d84c25c58a33c1b59.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/science/math/4ti2/default.nix')
-rw-r--r-- | pkgs/applications/science/math/4ti2/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/4ti2/default.nix b/pkgs/applications/science/math/4ti2/default.nix new file mode 100644 index 00000000000..bb6a89385ce --- /dev/null +++ b/pkgs/applications/science/math/4ti2/default.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, glpk +, gmp +}: + +stdenv.mkDerivation rec{ + pname = "4ti2"; + version = "1.6.9"; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = "Release_${builtins.replaceStrings ["."] ["_"] version}"; + hash = "sha256-cywneIM0sHt1iQsNfjyQDoDfdRjxpz4l3rfysi9YN20="; + }; + + nativeBuildInputs = [ + autoreconfHook + ]; + + buildInputs = [ + glpk + gmp + ]; + + installFlags = [ "install-exec" ]; + + meta = with lib;{ + homepage = "https://4ti2.github.io/"; + description = "A software package for algebraic, geometric and combinatorial problems on linear spaces"; + license = with licenses; [ gpl2Plus ]; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.all; + }; +} |