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/libresample/default.nix
Normal file
29
pkgs/development/libraries/libresample/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{lib, stdenv, fetchurl, cmake}:
|
||||
|
||||
let
|
||||
patch = fetchurl {
|
||||
url = "mirror://debian/pool/main/libr/libresample/libresample_0.1.3-3.diff.gz";
|
||||
sha256 = "063w8rqxw87fc89gas47vk0ll7xl8cy7d8g70gm1l62bqkkajklx";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libresample";
|
||||
version = "0.1.3";
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/libr/libresample/libresample_${version}.orig.tar.gz";
|
||||
sha256 = "05a8mmh1bw5afqx0kfdqzmph4x2npcs4idx0p0v6q95lwf22l8i0";
|
||||
};
|
||||
patches = [ patch ];
|
||||
preConfigure = ''
|
||||
cat debian/patches/1001_shlib-cmake.patch | patch -p1
|
||||
'';
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = {
|
||||
description = "A real-time library for sampling rate conversion library";
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
homepage = "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html";
|
||||
maintainers = [ lib.maintainers.sander ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue