hoarder: 0.21.0 -> 0.22.0
[NixPkgs.git] / pkgs / development / python-modules / pykulersky / default.nix
blob974034c58756625edb04385c4c0fe49a2454bce0
2   lib,
3   bleak,
4   buildPythonPackage,
5   click,
6   fetchFromGitHub,
7   pytest-asyncio,
8   pytest-mock,
9   pytestCheckHook,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "pykulersky";
15   version = "0.5.5";
16   format = "setuptools";
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "emlove";
22     repo = pname;
23     rev = version;
24     hash = "sha256-coO+WBnv5HT14ym719qr3Plm1JuiaNdAvD1QVPj65oU=";
25   };
27   propagatedBuildInputs = [
28     bleak
29     click
30   ];
32   nativeCheckInputs = [
33     pytest-asyncio
34     pytest-mock
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [ "pykulersky" ];
40   meta = with lib; {
41     description = "Python module to control Brightech Kuler Sky Bluetooth LED devices";
42     mainProgram = "pykulersky";
43     homepage = "https://github.com/emlove/pykulersky";
44     license = with licenses; [ asl20 ];
45     maintainers = with maintainers; [ fab ];
46   };