mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Adding pbzip2 (Parallel bzip2 for multicore machines)
svn path=/nixpkgs/trunk/; revision=19011
This commit is contained in:
parent
56e8f65d44
commit
4174b1a061
26
pkgs/tools/compression/pbzip2/default.nix
Normal file
26
pkgs/tools/compression/pbzip2/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -1177,6 +1177,10 @@ let
|
|||||||
|
|
||||||
patch = gnupatch;
|
patch = gnupatch;
|
||||||
|
|
||||||
|
pbzip2 = import ../tools/compression/pbzip2 {
|
||||||
|
inherit fetchurl stdenv bzip2;
|
||||||
|
};
|
||||||
|
|
||||||
pciutils = import ../tools/system/pciutils {
|
pciutils = import ../tools/system/pciutils {
|
||||||
inherit fetchurl stdenv zlib;
|
inherit fetchurl stdenv zlib;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user