nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 32 lines 687 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "pysendfile"; 10 version = "2.0.1"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-UQpBSycJhvujx5y3bZCkyRDHAb+0P/mDpdTpKEYFDhc="; 16 }; 17 18 build-system = [ setuptools ]; 19 20 # Tests depend on asynchat and asyncore 21 doCheck = false; 22 23 pythonImportsCheck = [ "sendfile" ]; 24 25 meta = { 26 description = "Python interface to sendfile(2)"; 27 homepage = "https://github.com/giampaolo/pysendfile"; 28 changelog = "https://github.com/giampaolo/pysendfile/blob/release-${version}/HISTORY.rst"; 29 license = lib.licenses.mit; 30 maintainers = [ ]; 31 }; 32}