mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Added lzo library
svn path=/nixpkgs/trunk/; revision=9636
This commit is contained in:
parent
2b07939b70
commit
9aea8727be
14
pkgs/development/libraries/lzo/default.nix
Normal file
14
pkgs/development/libraries/lzo/default.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
args: with args;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "lzo-2.02";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
||||||
|
sha256 = "1i9g9bdrmyn6546rnck3kkh8nssfaw75m2rxir4sn7bwvnsfryx2";
|
||||||
|
};
|
||||||
|
configureFlags = "--enable-shared --disable-static";
|
||||||
|
meta = {
|
||||||
|
description = "LZO is a data compresion library which is suitable for
|
||||||
|
data de-/compression in real-time";
|
||||||
|
homepage = http://www.oberhumer.com/opensource/lzo;
|
||||||
|
};
|
||||||
|
}
|
@ -2072,6 +2072,10 @@ rec {
|
|||||||
includeUnpack = getConfig ["stdenv" "includeUnpack"] false;
|
includeUnpack = getConfig ["stdenv" "includeUnpack"] false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
lzo = import ../development/libraries/lzo {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
mesaSupported =
|
mesaSupported =
|
||||||
system == "i686-linux" ||
|
system == "i686-linux" ||
|
||||||
system == "x86_64-linux";
|
system == "x86_64-linux";
|
||||||
|
Loading…
Reference in New Issue
Block a user