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/pynanoleaf/default.nix

29 lines
712 B

{ lib, buildPythonPackage, fetchPypi, isPy3k, requests }:
buildPythonPackage rec {
pname = "pynanoleaf";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "32a083759c4f99e019e0013670487841f8edf807c7a07742a971fa18707072a7";
};
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 ];
};
}