at 23.05-pre 599 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, cffi 6}: 7 8buildPythonPackage rec { 9 pname = "xattr"; 10 version = "0.10.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-ciZS0qUyTheJHEFtTHbZHM+YgwqPUWoN6FM86GfzrK8="; 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}