14 buildPythonPackage rec {
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-RzwTQRo5cIh6I8VQAJNcLg5TBiF6dAnZICGfvwCvx5Y=";
29 substituteInPlace setup.py \
30 --replace-warn 'version = "SNAPSHOT"' 'version = "${version}"'
33 nativeBuildInputs = [ setuptools ];
35 propagatedBuildInputs = [
43 # Project has no tests
46 pythonImportsCheck = [ "frigidaire" ];
49 description = "Python API for the Frigidaire devices";
50 homepage = "https://github.com/bm1549/frigidaire";
51 changelog = "https://github.com/bm1549/frigidaire/releases/tag/${version}";
52 license = with licenses; [ mit ];
53 maintainers = with maintainers; [ fab ];