depot/third_party/nixpkgs/pkgs/development/python-modules/pykulersky/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

47 lines
853 B
Nix

{ lib
, bleak
, buildPythonPackage
, click
, fetchFromGitHub
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pykulersky";
version = "0.5.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "emlove";
repo = pname;
rev = version;
sha256 = "sha256-l3obfs5zo5DqArsDml8EZ+/uzab35Jjsuzw6U1XFJ3k=";
};
propagatedBuildInputs = [
bleak
click
];
checkInputs = [
pytest-asyncio
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [
"pykulersky"
];
meta = with lib; {
description = "Python module to control Brightech Kuler Sky Bluetooth LED devices";
homepage = "https://github.com/emlove/pykulersky";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}