summary refs log tree commit diff
path: root/pkgs/tools/compression
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-19 11:14:16 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-19 11:14:16 +0000
commit5bae851b1e72065ba5a98366493954b3bc79c4ae (patch)
tree4da060cef5c3f80d5c442b8d2dda05e59d7a1462 /pkgs/tools/compression
parent76fa225eaacbf8f7ad117a1352be87fef56b2bd7 (diff)
parent405bbecba137aaf92f984f51e06721fec1c5539d (diff)
downloadnixlib-5bae851b1e72065ba5a98366493954b3bc79c4ae.tar
nixlib-5bae851b1e72065ba5a98366493954b3bc79c4ae.tar.gz
nixlib-5bae851b1e72065ba5a98366493954b3bc79c4ae.tar.bz2
nixlib-5bae851b1e72065ba5a98366493954b3bc79c4ae.tar.lz
nixlib-5bae851b1e72065ba5a98366493954b3bc79c4ae.tar.xz
nixlib-5bae851b1e72065ba5a98366493954b3bc79c4ae.tar.zst
nixlib-5bae851b1e72065ba5a98366493954b3bc79c4ae.zip
Merging from trunk. I had to give away some structure to build the native
sheevaplug kernel, so the kernel does not build in the sheevaplug right now.
I will try to fix that in next commits.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19045
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r--pkgs/tools/compression/pbzip2/default.nix26
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;
+  };
+}