My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/roku/default.nix

26 lines
635 B

{ lib, 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 lib; {
description = "Screw remotes. Control your Roku with Python.";
homepage = "https://github.com/jcarbaugh/python-roku";
license = licenses.bsd3;
};
}