linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / roku / default.nix
blobc82eda6e35c0653f453d40f2622c086fd1f74cfc
1 { lib, fetchFromGitHub, buildPythonPackage, requests, pytest, flask, isPy27
2 }:
4 buildPythonPackage rec {
5   version = "4.1";
6   pname = "roku";
7   disabled = isPy27;
9   src = fetchFromGitHub {
10     owner = "jcarbaugh";
11     repo = "python-roku";
12     rev = "v${version}";
13     sha256 = "09mq59kjll7gj1srw4qc921ncsm7cld95sbz5v3p2bwmgckpqza7";
14   };
16   propagatedBuildInputs = [ requests ];
18   checkInputs = [ pytest flask ];
19   pythonImportsCheck = [ "roku" ];
21   meta = with lib; {
22     description = "Screw remotes. Control your Roku with Python.";
23     homepage = "https://github.com/jcarbaugh/python-roku";
24     license = licenses.bsd3;
25   };