diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-06 02:06:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 02:06:02 +0100 |
commit | bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9 (patch) | |
tree | ff57a93aaee5b1d204cbac481b99ecc2b44255fb /pkgs/development | |
parent | cde761387420ba3d7c2edb579b53de76eda1ea02 (diff) | |
parent | c2f1dfa90efe961dcacc6d582c9bfc5cf2855db4 (diff) | |
download | nixpkgs-bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9.tar nixpkgs-bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9.tar.gz nixpkgs-bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9.tar.bz2 nixpkgs-bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9.tar.lz nixpkgs-bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9.tar.xz nixpkgs-bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9.tar.zst nixpkgs-bc7013f6f7a1ffdd2b0f9349ab557fae78987dc9.zip |
Merge pull request #108477 from fabaff/webthing
python3Packages.webthing: init at 0.15.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/webthing/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/webthing/default.nix b/pkgs/development/python-modules/webthing/default.nix new file mode 100644 index 00000000000..92e4ea5a8fb --- /dev/null +++ b/pkgs/development/python-modules/webthing/default.nix @@ -0,0 +1,40 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, ifaddr +, jsonschema +, pyee +, tornado +, zeroconf +}: + +buildPythonPackage rec { + pname = "webthing"; + version = "0.15.0"; + + src = fetchFromGitHub { + owner = "WebThingsIO"; + repo = "webthing-python"; + rev = "v${version}"; + sha256 = "06264rwchy4qmbn7lv7m00qg864y7aw3rngcqqcr9nvaqz4rb0fg"; + }; + + propagatedBuildInputs = [ + ifaddr + jsonschema + pyee + tornado + zeroconf + ]; + + # no tests are present + doCheck = false; + pythonImportsCheck = [ "webthing" ]; + + meta = with lib; { + description = "Python implementation of a Web Thing server"; + homepage = "https://github.com/WebThingsIO/webthing-python"; + license = with licenses; [ mpl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} |