git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #4771 from abbradar/pbzip2-update

pbzip2: update package

commita63cf7a1faed3836844e80e85ae1fb66aab482d2 authorlethalman <lucabru@src.gnome.org> dateSun 2 Nov 2014, 00:52 (12 years ago) parentd364653f2a27d8
1 file changed+10−10
pkgs/tools/compression/pbzip2/default.nix+10−10
pkgs/tools/compression/pbzip2/default.nix+10−10
@@ -1,14 +1,14 @@
11{stdenv, fetchurl, bzip2}:
22
3−let name = "pbzip2";
4− version = "1.0.5";
3+let major = "1.1";
4+ version = "${major}.9";
55in
6−stdenv.mkDerivation {
7− name = name + "-" + version;
6+stdenv.mkDerivation rec {
7+ name = "pbzip2-${version}";
88
99 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";
1212 };
1313
1414 buildInputs = [ bzip2 ];
@@ -16,11 +16,11 @@ stdenv.mkDerivation {
1616 make install PREFIX=$out
1717 '';
1818
19− meta = {
19+ meta = with stdenv.lib; {
2020 homepage = http://compression.ca/pbzip2/;
2121 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;
2525 };
2626}