uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
38
pkgs/applications/science/math/4ti2/default.nix
Normal file
38
pkgs/applications/science/math/4ti2/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue