pythonPackages.pynanoleaf: init at 0.0.5
This commit is contained in:
parent
376c25ab12
commit
6fcf77e87a
29
pkgs/development/python-modules/pynanoleaf/default.nix
Normal file
29
pkgs/development/python-modules/pynanoleaf/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynanoleaf";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2ced000e3c37f4e2ce0ea177d924af71c97007de9e4fd0ef37dcd7b4a6d1b622";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# pynanoleaf does not contain tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pynanoleaf"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Oro/pynanoleaf";
|
||||
description = "A Python3 wrapper for the Nanoleaf API, capable of controlling both Nanoleaf Aurora and Nanoleaf Canvas";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ oro ];
|
||||
};
|
||||
}
|
@ -500,7 +500,7 @@
|
||||
"n26" = ps: with ps; [ ]; # missing inputs: n26
|
||||
"nad" = ps: with ps; [ ]; # missing inputs: nad_receiver
|
||||
"namecheapdns" = ps: with ps; [ defusedxml];
|
||||
"nanoleaf" = ps: with ps; [ ]; # missing inputs: pynanoleaf
|
||||
"nanoleaf" = ps: with ps; [ pynanoleaf];
|
||||
"neato" = ps: with ps; [ pybotvac];
|
||||
"nederlandse_spoorwegen" = ps: with ps; [ ]; # missing inputs: nsapi
|
||||
"nello" = ps: with ps; [ ]; # missing inputs: pynello
|
||||
|
@ -1214,6 +1214,8 @@ in {
|
||||
|
||||
pymsgbox = callPackage ../development/python-modules/pymsgbox { };
|
||||
|
||||
pynanoleaf = callPackage ../development/python-modules/pynanoleaf { };
|
||||
|
||||
pynisher = callPackage ../development/python-modules/pynisher { };
|
||||
|
||||
pyparser = callPackage ../development/python-modules/pyparser { };
|
||||
|
Loading…
Reference in New Issue
Block a user