python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / roku / default.nix
blob5041ec57ab1a12f1fdda8383228640e9fec0007f
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   requests,
6   pytest,
7   flask,
8   isPy27,
9 }:
11 buildPythonPackage rec {
12   version = "4.1";
13   format = "setuptools";
14   pname = "roku";
15   disabled = isPy27;
17   src = fetchFromGitHub {
18     owner = "jcarbaugh";
19     repo = "python-roku";
20     rev = "v${version}";
21     sha256 = "09mq59kjll7gj1srw4qc921ncsm7cld95sbz5v3p2bwmgckpqza7";
22   };
24   propagatedBuildInputs = [ requests ];
26   nativeCheckInputs = [
27     pytest
28     flask
29   ];
30   pythonImportsCheck = [ "roku" ];
32   meta = with lib; {
33     description = "Screw remotes. Control your Roku with Python";
34     homepage = "https://github.com/jcarbaugh/python-roku";
35     license = licenses.bsd3;
36   };