1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pywilight/default.nix
2021-05-28 14:16:18 +02:00

33 lines
617 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, ifaddr
, requests
}:
buildPythonPackage rec {
pname = "pywilight";
version = "0.0.70";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PLahGx75oEp4NIZB9PVRdA3cLBxhQsHTsnquy7WSEC8=";
};
propagatedBuildInputs = [
ifaddr
requests
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "pywilight" ];
meta = with lib; {
description = "Python API for WiLight device";
homepage = "https://github.com/leofig-rj/pywilight";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}