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/compilers/nasm/default.nix
Normal file
30
pkgs/development/compilers/nasm/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchurl, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nasm";
|
||||
version = "2.15.05";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.nasm.us/pub/nasm/releasebuilds/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0gqand86b0r86k3h46dh560lykxmxqqywz5m55kgjfq7q4lngbrw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
make golden
|
||||
make test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.nasm.us/";
|
||||
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ pSub willibutz ];
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue