Skip to content

Commit

Permalink
python3Packages.pywilight: init at 0.0.65
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jan 4, 2021
1 parent 06c9dbc commit 09cd644
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/pywilight/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, ifaddr
, requests
}:

buildPythonPackage rec {
pname = "pywilight";
version = "0.0.65";

src = fetchPypi {
inherit pname version;
sha256 = "1bldhg81lal9mbf55ky3gj2ndlplr0vfjp1bamd0mz5d9icas8nf";
};

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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6263,6 +6263,8 @@ in {

pywick = callPackage ../development/python-modules/pywick { };

pywilight = callPackage ../development/python-modules/pywilight { };

pywinrm = callPackage ../development/python-modules/pywinrm { };

pyxattr = let
Expand Down

0 comments on commit 09cd644

Please sign in to comment.