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
34
pkgs/development/libraries/multipart-parser-c/default.nix
Normal file
34
pkgs/development/libraries/multipart-parser-c/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "multipart-parser-c";
|
||||
version = "unstable-2015-12-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iafonov";
|
||||
repo = pname;
|
||||
rev = "772639cf10db6d9f5a655ee9b7eb20b815fab396";
|
||||
sha256 = "056r63vj8f1rwf3wk7jmwhm8ba25l6h1gs6jnkh0schbwcvi56xl";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
make solib
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
mv lib*${stdenv.targetPlatform.extensions.sharedLibrary} $out/lib/
|
||||
|
||||
mkdir -p $out/include
|
||||
mv *.h $out/include/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Http multipart parser implemented in C ";
|
||||
homepage = "https://github.com/iafonov/multipart-parser-c";
|
||||
license = [ lib.licenses.mit ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue