depot/third_party/nixpkgs/pkgs/development/python-modules/goveelights/default.nix
Default email 646c172193 Project import generated by Copybara.
GitOrigin-RevId: c478eaf416411a7dedf773185b6d5bfc966a80ae
2021-12-21 10:18:32 +08:00

37 lines
694 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "goveelights";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4j4iBT4PIpk6BbHwJF7+sp/PeIlHw+8dsOK1Ecfuwtc=";
};
propagatedBuildInputs = [
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"goveelights"
];
meta = with lib; {
description = "Python module for interacting with the Govee API";
homepage = "https://github.com/arcanearronax/govee_lights";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}