pythonPackages.libarchive-c: init at 2.1

This commit is contained in:
Tuomas Tynkkynen 2015-08-04 09:10:27 +03:00
parent 3a8d901ace
commit 24f76a55d2

View file

@ -15259,6 +15259,22 @@ let
propagatedBuildInputs = with self; [ pkgs.libarchive ];
};
libarchive-c = buildPythonPackage rec {
name = "libarchive-c-2.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/l/libarchive-c/${name}.tar.gz";
sha256 = "089lrz6xyrfnk55v35vis6jyqyyl77w093057djyspnd2744wi2n";
};
patchPhase = ''
substituteInPlace libarchive/ffi.py --replace \
"find_library('archive')" "'${pkgs.libarchive}/lib/libarchive.so'"
'';
buildInputs = [ pkgs.libarchive ];
};
pybrowserid = buildPythonPackage rec {
name = "PyBrowserID-${version}";
version = "0.9.2";