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