nixpkgs/pkgs/development/python-modules/pyhomeworks/default.nix
2021-12-03 21:51:21 +01:00

34 lines
644 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyhomeworks";
version = "0.0.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "Eqbm8274B2hBuF+mREe8lqGhpzZExPJ29jzvwB5RNR8=";
};
# Project has no real tests
doCheck = false;
pythonImportsCheck = [
"pyhomeworks"
];
meta = with lib; {
description = "Python interface to Lutron Homeworks Series 4/8";
homepage = "https://github.com/dubnom/pyhomeworks";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}