Merge pull request #4771 from abbradar/pbzip2-update

pbzip2: update package

lethalman a63cf7a1 d3646532

+10 -10
+10 -10
pkgs/tools/compression/pbzip2/default.nix
··· 1 1 {stdenv, fetchurl, bzip2}: 2 2 3 - let name = "pbzip2"; 4 - version = "1.0.5"; 3 + let major = "1.1"; 4 + version = "${major}.9"; 5 5 in 6 - stdenv.mkDerivation { 7 - name = name + "-" + version; 6 + stdenv.mkDerivation rec { 7 + name = "pbzip2-${version}"; 8 8 9 9 src = fetchurl { 10 - url = "http://compression.ca/${name}/${name}-${version}.tar.gz"; 11 - sha256 = "0vc9r6b2djhpwslavi2ykv6lk8pwf4lqb107lmapw2q8d658qpa1"; 10 + url = "https://launchpad.net/pbzip2/${major}/${version}/+download/${name}.tar.gz"; 11 + sha256 = "1i7rql77ac33lz7lzrjyl9b16mqizmdkb8hv295a493f7vh1nhmx"; 12 12 }; 13 13 14 14 buildInputs = [ bzip2 ]; ··· 16 16 make install PREFIX=$out 17 17 ''; 18 18 19 - meta = { 19 + meta = with stdenv.lib; { 20 20 homepage = http://compression.ca/pbzip2/; 21 21 description = "A parallel implementation of bzip2 for multi-core machines"; 22 - license = "free"; 23 - maintainers = with stdenv.lib.maintainers; [viric]; 24 - platforms = with stdenv.lib.platforms; linux; 22 + license = licenses.bsd2; 23 + maintainers = with maintainers; [viric]; 24 + platforms = with platforms; linux; 25 25 }; 26 26 }