Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / roku / default.nix
blob354e2f650fac746090b407ef2f00eac3d4d60ceb
1 { lib, fetchFromGitHub, buildPythonPackage, requests, pytest, flask, isPy27
2 }:
4 buildPythonPackage rec {
5   version = "4.1";
6   format = "setuptools";
7   pname = "roku";
8   disabled = isPy27;
10   src = fetchFromGitHub {
11     owner = "jcarbaugh";
12     repo = "python-roku";
13     rev = "v${version}";
14     sha256 = "09mq59kjll7gj1srw4qc921ncsm7cld95sbz5v3p2bwmgckpqza7";
15   };
17   propagatedBuildInputs = [ requests ];
19   nativeCheckInputs = [ pytest flask ];
20   pythonImportsCheck = [ "roku" ];
22   meta = with lib; {
23     description = "Screw remotes. Control your Roku with Python.";
24     homepage = "https://github.com/jcarbaugh/python-roku";
25     license = licenses.bsd3;
26   };