git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #127905 from AndersonTorres/new-4ti2

4ti2: init at 1.6.9

commit65db0350fe3962c41b8604046ec9166976f80793 authorAnderson Torres <torres.anderson.85@protonmail.com> dateWed 23 Jun 2021, 21:01 (5 years ago) parentba1af1868dd7bc
2 files changed+40
pkgs/applications/science/math/4ti2/default.nix+38 pkgs/top-level/all-packages.nix+2
pkgs/applications/science/math/4ti2/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, autoreconfHook
5+, glpk
6+, gmp
7+}:
8+
9+stdenv.mkDerivation rec{
10+ pname = "4ti2";
11+ version = "1.6.9";
12+
13+ src = fetchFromGitHub {
14+ owner = pname;
15+ repo = pname;
16+ rev = "Release_${builtins.replaceStrings ["."] ["_"] version}";
17+ hash = "sha256-cywneIM0sHt1iQsNfjyQDoDfdRjxpz4l3rfysi9YN20=";
18+ };
19+
20+ nativeBuildInputs = [
21+ autoreconfHook
22+ ];
23+
24+ buildInputs = [
25+ glpk
26+ gmp
27+ ];
28+
29+ installFlags = [ "install-exec" ];
30+
31+ meta = with lib;{
32+ homepage = "https://4ti2.github.io/";
33+ description = "A software package for algebraic, geometric and combinatorial problems on linear spaces";
34+ license = with licenses; [ gpl2Plus ];
35+ maintainers = with maintainers; [ AndersonTorres ];
36+ platforms = platforms.all;
37+ };
38+}
pkgs/top-level/all-packages.nix+2
@@ -29712,6 +29712,8 @@ in
2971229712
2971329713 ### SCIENCE/MATH
2971429714
29715+ _4ti2 = callPackage ../applications/science/math/4ti2 { };
29716+
2971529717 almonds = callPackage ../applications/science/math/almonds { };
2971629718
2971729719 amd-blis = callPackage ../development/libraries/science/math/amd-blis { };