blob: a77998c994c552eefb08f7075ef787afcec812c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "nanoleaf";
version = "0.4.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "17dmxibfjmwnrs6ng5cmvfis3cv6iw267xb8n1pijy15y9dz0s8s";
};
prePatch = ''
sed -i '/^gitVersion =/d' setup.py
substituteInPlace setup.py --replace 'gitVersion' '"${version}"'
'';
propagatedBuildInputs = [ requests ];
meta = with lib; {
description = "A python interface for Nanoleaf Aurora lighting";
homepage = "https://github.com/software-2/nanoleaf";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|