forked from mirrors/nixpkgs
Merge pull request #83582 from colemickens/nixpkgs-ha-pkgs-roku
pythonPackages.roku: init at v4.1
This commit is contained in:
commit
5371ea9702
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,6 +11,7 @@ result-*
|
|||
.version-suffix
|
||||
|
||||
.DS_Store
|
||||
.mypy_cache
|
||||
|
||||
/pkgs/development/libraries/qt-5/*/tmp/
|
||||
/pkgs/desktops/kde-5/*/tmp/
|
||||
|
|
26
pkgs/development/python-modules/roku/default.nix
Normal file
26
pkgs/development/python-modules/roku/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -640,7 +640,7 @@
|
|||
"ripple" = ps: with ps; [ ]; # missing inputs: python-ripple-api
|
||||
"rmvtransport" = ps: with ps; [ ]; # missing inputs: PyRMVtransport
|
||||
"rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
|
||||
"roku" = ps: with ps; [ ]; # missing inputs: roku
|
||||
"roku" = ps: with ps; [ roku];
|
||||
"roomba" = ps: with ps; [ ]; # missing inputs: roombapy
|
||||
"route53" = ps: with ps; [ boto3]; # missing inputs: ipify
|
||||
"rova" = ps: with ps; [ ]; # missing inputs: rova
|
||||
|
|
|
@ -3301,6 +3301,8 @@ in {
|
|||
|
||||
rethinkdb = callPackage ../development/python-modules/rethinkdb { };
|
||||
|
||||
roku = callPackage ../development/python-modules/roku { };
|
||||
|
||||
roman = callPackage ../development/python-modules/roman { };
|
||||
|
||||
rotate-backups = callPackage ../tools/backup/rotate-backups { };
|
||||
|
|
Loading…
Reference in a new issue