uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/development/python-modules/roku/default.nix
Normal file
26
pkgs/development/python-modules/roku/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue