Merge pull request #127905 from AndersonTorres/new-4ti2

4ti2: init at 1.6.9
This commit is contained in:
Anderson Torres 2021-06-23 21:01:05 -03:00 committed by GitHub
commit 65db0350fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -29712,6 +29712,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 { };