git.iko.soy/typeable/nixpkgs
on master help sign in
4ti2: init at 1.6.9
commit4b0789d7c5c1aea31ffd2a49fb3f9a60a5152673 authorAndersonTorres <torres.anderson.85@protonmail.com> dateWed 23 Jun 2021, 10:16 (5 years ago) parentb1da480
2 files changed+39
pkgs/applications/science/math/4ti2/default.nix+37 pkgs/top-level/all-packages.nix+2
pkgs/applications/science/math/4ti2/default.nixnew file+37
@@ -0,0 +1,37 @@
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+ platforms = platforms.all;
36+ };
37+}
pkgs/top-level/all-packages.nix+2
@@ -29677,6 +29677,8 @@ in
2967729677
2967829678 ### SCIENCE/MATH
2967929679
29680+ _4ti2 = callPackage ../applications/science/math/4ti2 { };
29681+
2968029682 almonds = callPackage ../applications/science/math/almonds { };
2968129683
2968229684 amd-blis = callPackage ../development/libraries/science/math/amd-blis { };