at 22.05-pre 611 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, cffi 6}: 7 8buildPythonPackage rec { 9 pname = "xattr"; 10 version = "0.9.7"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "b0bbca828e04ef2d484a6522ae7b3a7ccad5e43fa1c6f54d78e24bb870f49d44"; 15 }; 16 17 propagatedBuildInputs = [ cffi ]; 18 19 # https://github.com/xattr/xattr/issues/43 20 doCheck = false; 21 22 postBuild = '' 23 ${python.interpreter} -m compileall -f xattr 24 ''; 25 26 meta = with lib; { 27 homepage = "https://github.com/xattr/xattr"; 28 description = "Python wrapper for extended filesystem attributes"; 29 license = licenses.mit; 30 }; 31 32}