diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-12-17 11:10:01 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-12-17 11:10:01 +0000 |
commit | 4174b1a061fe0f276908fd6f54860a60c5c97530 (patch) | |
tree | 2a19ca8677630e41821658ac7f6864fd6b7a4a0c /pkgs/tools/compression/pbzip2 | |
parent | 56e8f65d44641765877cc413a77635dc74a271b1 (diff) |
Adding pbzip2 (Parallel bzip2 for multicore machines)
svn path=/nixpkgs/trunk/; revision=19011
Diffstat (limited to 'pkgs/tools/compression/pbzip2')
-rw-r--r-- | pkgs/tools/compression/pbzip2/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/compression/pbzip2/default.nix b/pkgs/tools/compression/pbzip2/default.nix new file mode 100644 index 000000000000..b180ad61c75f --- /dev/null +++ b/pkgs/tools/compression/pbzip2/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl, bzip2}: + +let name = "pbzip2"; + version = "1.0.5"; +in +stdenv.mkDerivation { + name = name + "-" + version; + + src = fetchurl { + url = "http://compression.ca/${name}/${name}-${version}.tar.gz"; + sha256 = "0vc9r6b2djhpwslavi2ykv6lk8pwf4lqb107lmapw2q8d658qpa1"; + }; + + buildInputs = [ bzip2 ]; + installPhase = '' + make install PREFIX=$out + ''; + + meta = { + homepage = http://compression.ca/pbzip2/; + description = "A parallel implementation of bzip2 for multi-core machines"; + license = "free"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} |