From f2a27d8d8197f14c5e77bdd4ede9fb2f5d9352ec Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 2 Nov 2014 02:03:25 +0300 Subject: pbzip2: update package --- pkgs/tools/compression/pbzip2/default.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'pkgs/tools/compression') diff --git a/pkgs/tools/compression/pbzip2/default.nix b/pkgs/tools/compression/pbzip2/default.nix index b180ad61c75f..3c442e221397 100644 --- a/pkgs/tools/compression/pbzip2/default.nix +++ b/pkgs/tools/compression/pbzip2/default.nix @@ -1,14 +1,14 @@ {stdenv, fetchurl, bzip2}: -let name = "pbzip2"; - version = "1.0.5"; +let major = "1.1"; + version = "${major}.9"; in -stdenv.mkDerivation { - name = name + "-" + version; +stdenv.mkDerivation rec { + name = "pbzip2-${version}"; src = fetchurl { - url = "http://compression.ca/${name}/${name}-${version}.tar.gz"; - sha256 = "0vc9r6b2djhpwslavi2ykv6lk8pwf4lqb107lmapw2q8d658qpa1"; + url = "https://launchpad.net/pbzip2/${major}/${version}/+download/${name}.tar.gz"; + sha256 = "1i7rql77ac33lz7lzrjyl9b16mqizmdkb8hv295a493f7vh1nhmx"; }; buildInputs = [ bzip2 ]; @@ -16,11 +16,11 @@ stdenv.mkDerivation { make install PREFIX=$out ''; - meta = { + meta = with stdenv.lib; { 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; + license = licenses.bsd2; + maintainers = with maintainers; [viric]; + platforms = with platforms; linux; }; } -- cgit 1.4.1