Merge pull request #108477 from fabaff/webthing
python3Packages.webthing: init at 0.15.0
This commit is contained in:
commit
bc7013f6f7
40
pkgs/development/python-modules/webthing/default.nix
Normal file
40
pkgs/development/python-modules/webthing/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -7914,6 +7914,8 @@ in {
|
|||||||
|
|
||||||
webtest = callPackage ../development/python-modules/webtest { };
|
webtest = callPackage ../development/python-modules/webtest { };
|
||||||
|
|
||||||
|
webthing = callPackage ../development/python-modules/webthing { };
|
||||||
|
|
||||||
werkzeug = callPackage ../development/python-modules/werkzeug { };
|
werkzeug = callPackage ../development/python-modules/werkzeug { };
|
||||||
|
|
||||||
west = callPackage ../development/python-modules/west { };
|
west = callPackage ../development/python-modules/west { };
|
||||||
|
Loading…
Reference in New Issue
Block a user