pbzip2: update package

This commit is contained in:
Nikolay Amiantov 2014-11-02 02:03:25 +03:00
parent c9de1ea49e
commit f2a27d8d81

View File

@ -1,14 +1,14 @@
{stdenv, fetchurl, bzip2}: {stdenv, fetchurl, bzip2}:
let name = "pbzip2"; let major = "1.1";
version = "1.0.5"; version = "${major}.9";
in in
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = name + "-" + version; name = "pbzip2-${version}";
src = fetchurl { src = fetchurl {
url = "http://compression.ca/${name}/${name}-${version}.tar.gz"; url = "https://launchpad.net/pbzip2/${major}/${version}/+download/${name}.tar.gz";
sha256 = "0vc9r6b2djhpwslavi2ykv6lk8pwf4lqb107lmapw2q8d658qpa1"; sha256 = "1i7rql77ac33lz7lzrjyl9b16mqizmdkb8hv295a493f7vh1nhmx";
}; };
buildInputs = [ bzip2 ]; buildInputs = [ bzip2 ];
@ -16,11 +16,11 @@ stdenv.mkDerivation {
make install PREFIX=$out make install PREFIX=$out
''; '';
meta = { meta = with stdenv.lib; {
homepage = http://compression.ca/pbzip2/; homepage = http://compression.ca/pbzip2/;
description = "A parallel implementation of bzip2 for multi-core machines"; description = "A parallel implementation of bzip2 for multi-core machines";
license = "free"; license = licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [viric]; maintainers = with maintainers; [viric];
platforms = with stdenv.lib.platforms; linux; platforms = with platforms; linux;
}; };
} }