2009-12-17 11:10:01 +00:00
|
|
|
{stdenv, fetchurl, bzip2}:
|
|
|
|
|
2014-11-01 23:03:25 +00:00
|
|
|
let major = "1.1";
|
|
|
|
version = "${major}.9";
|
2009-12-17 11:10:01 +00:00
|
|
|
in
|
2014-11-01 23:03:25 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pbzip2-${version}";
|
2009-12-17 11:10:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-01 23:03:25 +00:00
|
|
|
url = "https://launchpad.net/pbzip2/${major}/${version}/+download/${name}.tar.gz";
|
|
|
|
sha256 = "1i7rql77ac33lz7lzrjyl9b16mqizmdkb8hv295a493f7vh1nhmx";
|
2009-12-17 11:10:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bzip2 ];
|
|
|
|
installPhase = ''
|
|
|
|
make install PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
2014-11-01 23:03:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
2009-12-17 11:10:01 +00:00
|
|
|
homepage = http://compression.ca/pbzip2/;
|
|
|
|
description = "A parallel implementation of bzip2 for multi-core machines";
|
2014-11-01 23:03:25 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [viric];
|
|
|
|
platforms = with platforms; linux;
|
2009-12-17 11:10:01 +00:00
|
|
|
};
|
|
|
|
}
|