nixpkgs/pkgs/by-name/_4/_4ti2/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
770 B
Nix
Raw Normal View History

2021-06-23 13:16:35 +00:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, glpk
, gmp
}:
stdenv.mkDerivation rec{
pname = "4ti2";
2023-05-06 20:43:07 +00:00
version = "1.6.10";
2021-06-23 13:16:35 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "Release_${builtins.replaceStrings ["."] ["_"] version}";
2023-05-06 20:43:07 +00:00
hash = "sha256-Rz8O1Tf81kzpTGPq7dkZJvv444F1/VqKu7VuRvH59kQ=";
2021-06-23 13:16:35 +00:00
};
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
glpk
gmp
];
installFlags = [ "install-exec" ];
meta = with lib;{
homepage = "https://4ti2.github.io/";
description = "Software package for algebraic, geometric and combinatorial problems on linear spaces";
license = with licenses; [ gpl2Plus ];
2021-06-23 23:23:30 +00:00
maintainers = with maintainers; [ AndersonTorres ];
2021-06-23 13:16:35 +00:00
platforms = platforms.all;
};
}