nixpkgs/pkgs/development/python-modules/nanoleaf/default.nix
Linus Heckemann ec2bee2404 maintainers: remove elseym
Simon passed away in December 2021.

Simon, it was a pleasure to work with you, to learn things together
and to share good times. It ended too soon. You will be missed.
2022-07-04 21:21:38 +02:00

25 lines
637 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "nanoleaf";
version = "0.4.1";
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; [ ];
};
}