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
51
pkgs/applications/science/math/polymake/default.nix
Normal file
51
pkgs/applications/science/math/polymake/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib, stdenv, fetchurl
|
||||
, perl, gmp, mpfr, flint, boost
|
||||
, bliss, ppl, singular, cddlib, lrs, nauty
|
||||
, ninja, ant, openjdk
|
||||
, perlPackages
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
# polymake compiles its own version of sympol and atint because we
|
||||
# don't have those packages. other missing optional dependencies:
|
||||
# javaview, libnormaliz, scip, soplex, jreality.
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "polymake";
|
||||
version = "4.6";
|
||||
|
||||
src = fetchurl {
|
||||
# "The minimal version is a packager friendly version which omits
|
||||
# the bundled sources of cdd, lrs, libnormaliz, nauty and jReality."
|
||||
url = "https://polymake.org/lib/exe/fetch.php/download/polymake-${version}-minimal.tar.bz2";
|
||||
sha256 = "sha256-QjpE3e8R6uqEV6sV3V2G3beovMbJuxF3b54pWNfc+dA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
perl gmp mpfr flint boost
|
||||
bliss ppl singular cddlib lrs nauty
|
||||
openjdk
|
||||
] ++ (with perlPackages; [
|
||||
JSON TermReadLineGnu TermReadKey XMLSAX
|
||||
]);
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper ninja ant perl
|
||||
];
|
||||
|
||||
ninjaFlags = [ "-C" "build/Opt" ];
|
||||
|
||||
postInstall = ''
|
||||
for i in "$out"/bin/*; do
|
||||
wrapProgram "$i" --prefix PERL5LIB : "$PERL5LIB"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Software for research in polyhedral geometry";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = teams.sage.members;
|
||||
platforms = platforms.linux;
|
||||
homepage = "https://www.polymake.org/doku.php";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue