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
30
pkgs/development/libraries/jama/default.nix
Normal file
30
pkgs/development/libraries/jama/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{lib, stdenv, fetchurl, unzip, tnt}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jama";
|
||||
version = "1.2.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://math.nist.gov/tnt/jama125.zip";
|
||||
sha256 = "031ns526fvi2nv7jzzv02i7i5sjcyr0gj884i3an67qhsx8vyckl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
propagatedBuildInputs = [ tnt ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir "${pname}-${version}"
|
||||
unzip "$src"
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
cp *.h $out/include
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://math.nist.gov/tnt/";
|
||||
description = "JAMA/C++ Linear Algebra Package: Java-like matrix C++ templates";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.publicDomain;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue