aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/libraries/celt/0.5.1.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/celt/0.5.1.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/celt/0.5.1.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/celt/0.5.1.nix b/nixpkgs/pkgs/development/libraries/celt/0.5.1.nix
new file mode 100644
index 00000000000..e45d74345d4
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/celt/0.5.1.nix
@@ -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'
+ '';
+})