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
27
pkgs/servers/http/micro-httpd/default.nix
Normal file
27
pkgs/servers/http/micro-httpd/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "micro-httpd";
|
||||
version = "20140814";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://acme.com/software/micro_httpd/micro_httpd_14Aug2014.tar.gz";
|
||||
sha256 = "0mlm24bi31s0s8w55i0sysv2nc1n2x4cfp6dm47slz49h2fz24rk";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(BINDIR="$out/bin" MANDIR="$out/share/man/man8")
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/man/man8
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://acme.com/software/micro_httpd/";
|
||||
description = "A really small HTTP server";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ copumpkin ];
|
||||
mainProgram = "micro_httpd";
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue