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
29
pkgs/development/libraries/liblockfile/default.nix
Normal file
29
pkgs/development/libraries/liblockfile/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
_name = "liblockfile";
|
||||
version = "1.17";
|
||||
name = "${_name}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
|
||||
sha256 = "sha256-bpN/NlCvq0qsGY80i4mxykLtzrF/trsJGPZCFDzP0V4=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -i -e 's/ -g [^ ]* / /' Makefile.in
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/{bin,lib,include,man} $out/man/man{1,3}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Shared library with NFS-safe locking functions";
|
||||
homepage = "http://packages.debian.org/unstable/libs/liblockfile1";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ lib.maintainers.bluescreen303 ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue