nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 837 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "jsonfeed"; 11 version = "0.0.1"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-Etfi59oOCrLHavLRMQo3HASFnydrBnsyEtGUgcsv1aQ="; 17 }; 18 19 postPatch = '' 20 # Mixing of dev and runtime requirements 21 substituteInPlace setup.py \ 22 --replace-fail "install_requires=install_requires," "install_requires=[]," 23 ''; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ requests ]; 28 29 # Module has no tests, only a placeholder 30 doCheck = false; 31 32 pythonImportsCheck = [ "jsonfeed" ]; 33 34 meta = { 35 description = "Module to process json feed"; 36 homepage = "https://pypi.org/project/jsonfeed/"; 37 license = lib.licenses.bsd2; 38 maintainers = with lib.maintainers; [ fab ]; 39 }; 40}