From 7fa38ea9fa1cfc690e0230069990a57072c07c3d Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Tue, 8 Sep 2009 20:03:37 +0000 Subject: [PATCH] Added XZ package svn path=/nixpkgs/trunk/; revision=16989 --- pkgs/tools/compression/xz/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/tools/compression/xz/default.nix diff --git a/pkgs/tools/compression/xz/default.nix b/pkgs/tools/compression/xz/default.nix new file mode 100644 index 000000000000..082fc8be7330 --- /dev/null +++ b/pkgs/tools/compression/xz/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, lib}: + +stdenv.mkDerivation { + name = "xz"; + + src = fetchurl { + url = http://tukaani.org/xz/xz-4.999.9beta.tar.bz2; + sha256 = "0p51d9jng9vfh56idhjbc40n3ypapznwfb1npsvxh23n772140rk"; + }; + + meta = { + homepage = http://tukaani.org/xz/; + description = "Successor of the LZMA Utils package"; + license = "GPL/LGPL"; + maintainers = [ lib.maintainers.sander ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b99f56d99689..a02e09d48f33 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -978,6 +978,10 @@ let lzma = import ../tools/compression/lzma { inherit fetchurl stdenv; }; + + xz = import ../tools/compression/xz { + inherit fetchurl stdenv lib; + }; lzop = import ../tools/compression/lzop { inherit fetchurl stdenv lzo;