Merge pull request #83582 from colemickens/nixpkgs-ha-pkgs-roku

pythonPackages.roku: init at v4.1
This commit is contained in:
Jörg Thalheim
2020-03-31 11:46:04 +01:00
committed by GitHub
4 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, requests, pytest, flask, isPy27
}:
buildPythonPackage rec {
version = "4.1";
pname = "roku";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jcarbaugh";
repo = "python-roku";
rev = "v${version}";
sha256 = "09mq59kjll7gj1srw4qc921ncsm7cld95sbz5v3p2bwmgckpqza7";
};
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest flask ];
pythonImportsCheck = [ "roku" ];
meta = with stdenv.lib; {
description = "Screw remotes. Control your Roku with Python.";
homepage = "https://github.com/jcarbaugh/python-roku";
license = licenses.bsd3;
};
}