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
17
pkgs/development/libraries/celt/0.5.1.nix
Normal file
17
pkgs/development/libraries/celt/0.5.1.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ callPackage, fetchurl, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "0.5.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.xiph.org/releases/celt/celt-${version}.tar.gz";
|
||||
sha256 = "0bkam9z5vnrxpbxkkh9kw6yzjka9di56h11iijikdd1f71l5nbpw";
|
||||
};
|
||||
|
||||
# Don't build tests due to badness with ec_ilog
|
||||
prePatch = ''
|
||||
substituteInPlace Makefile.in \
|
||||
--replace 'SUBDIRS = libcelt tests' \
|
||||
'SUBDIRS = libcelt'
|
||||
'';
|
||||
})
|
||||
10
pkgs/development/libraries/celt/0.7.nix
Normal file
10
pkgs/development/libraries/celt/0.7.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ callPackage, fetchurl, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.xiph.org/releases/celt/celt-${version}.tar.gz";
|
||||
sha256 = "0rihjgzrqcprsv8a1pmiglwik7xqbs2yw3fwd6gb28chnpgy5w4k";
|
||||
};
|
||||
})
|
||||
10
pkgs/development/libraries/celt/default.nix
Normal file
10
pkgs/development/libraries/celt/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ callPackage, fetchurl, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "0.11.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.xiph.org/releases/celt/celt-${version}.tar.gz";
|
||||
sha256 = "0dh893wqbh0q4a0x1xyqryykmnhpv7mkblpch019s04a99fq2r3y";
|
||||
};
|
||||
})
|
||||
29
pkgs/development/libraries/celt/generic.nix
Normal file
29
pkgs/development/libraries/celt/generic.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, version, src
|
||||
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
|
||||
, prePatch ? ""
|
||||
, ...
|
||||
}:
|
||||
|
||||
# The celt codec has been deprecated and is now a part of the opus codec
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "celt";
|
||||
inherit version;
|
||||
|
||||
inherit src;
|
||||
|
||||
inherit prePatch;
|
||||
|
||||
buildInputs = []
|
||||
++ lib.optional liboggSupport libogg;
|
||||
|
||||
doCheck = false; # fails
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ultra-low delay audio codec";
|
||||
homepage = "https://gitlab.xiph.org/xiph/celt"; # http://www.celt-codec.org/ is gone
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ codyopel raskin ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue