diff options
author | Nikolay Amiantov <ab@fmap.me> | 2014-11-02 02:03:25 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2014-11-02 02:04:36 +0300 |
commit | f2a27d8d8197f14c5e77bdd4ede9fb2f5d9352ec (patch) | |
tree | 79ef0b41aac5a51790edfaa13bbf298d721cb2ef /pkgs/tools/compression/pbzip2 | |
parent | c9de1ea49e8c188e524951a4256247e801bb25e2 (diff) |
pbzip2: update package
Diffstat (limited to 'pkgs/tools/compression/pbzip2')
-rw-r--r-- | pkgs/tools/compression/pbzip2/default.nix | 20 |
1 files changed, 10 insertions, 10 deletions
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; }; } |