forked from mirrors/nixpkgs
4ti2: init at 1.6.9
This commit is contained in:
parent
b1da480910
commit
4b0789d7c5
37
pkgs/applications/science/math/4ti2/default.nix
Normal file
37
pkgs/applications/science/math/4ti2/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ 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 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -29677,6 +29677,8 @@ in
|
|||
|
||||
### SCIENCE/MATH
|
||||
|
||||
_4ti2 = callPackage ../applications/science/math/4ti2 { };
|
||||
|
||||
almonds = callPackage ../applications/science/math/almonds { };
|
||||
|
||||
amd-blis = callPackage ../development/libraries/science/math/amd-blis { };
|
||||
|
|
Loading…
Reference in a new issue