10 buildPythonPackage rec {
11 pname = "libarchive-c";
15 inherit pname version;
16 sha256 = "9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60";
19 checkInputs = [ mock pytest glibcLocales ];
24 substituteInPlace libarchive/ffi.py --replace \
25 "find_library('archive')" "'${libarchive.lib}/lib/libarchive${stdenv.hostPlatform.extensions.sharedLibrary}'"
29 py.test tests -k 'not test_check_archiveentry_with_unicode_entries_and_name_zip and not test_check_archiveentry_using_python_testtar'
33 homepage = "https://github.com/Changaco/python-libarchive-c";
34 description = "Python interface to libarchive";
35 license = licenses.cc0;