nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 788 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "pyhomeworks"; 10 version = "1.1.2"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-Jq+rjhjmnPFNaEuCHyi+8i20RgLf1rpZg6QqwE7ax7M="; 16 }; 17 18 postPatch = '' 19 substituteInPlace pyproject.toml \ 20 --replace-fail "setuptools~=69.2.0" "setuptools" \ 21 --replace-fail ', "wheel~=0.43.0"' "" 22 ''; 23 24 build-system = [ setuptools ]; 25 26 # Project has no real tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "pyhomeworks" ]; 30 31 meta = { 32 description = "Python interface to Lutron Homeworks Series 4/8"; 33 homepage = "https://github.com/dubnom/pyhomeworks"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}