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
25
pkgs/development/libraries/tnt/default.nix
Normal file
25
pkgs/development/libraries/tnt/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{lib, stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "tnt";
|
||||
version = "3.0.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://math.nist.gov/tnt/tnt_3_0_12.zip";
|
||||
sha256 = "1bzkfdb598584qlc058n8wqq9vbz714gr5r57401rsa9qaxhk5j7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
cp *.h $out/include
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://math.nist.gov/tnt/";
|
||||
description = "Template Numerical Toolkit: C++ headers for array and matrices";
|
||||
license = lib.licenses.publicDomain;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue