Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchurl 4, isPy3k 5, pkgs 6}: 7 8buildPythonPackage rec { 9 version = "3.1.2-1"; 10 pname = "libarchive"; 11 disabled = isPy3k; 12 13 src = fetchurl { 14 url = "http://python-libarchive.googlecode.com/files/python-libarchive-${version}.tar.gz"; 15 sha256 = "0j4ibc4mvq64ljya9max8832jafi04jciff9ia9qy0xhhlwkcx8x"; 16 }; 17 18 propagatedBuildInputs = [ pkgs.libarchive.lib ]; 19 20 meta = with stdenv.lib; { 21 description = "Multi-format archive and compression library"; 22 homepage = https://libarchive.org/; 23 license = licenses.bsd0; 24 broken = true; 25 }; 26 27}