mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
41 lines
773 B
Nix
41 lines
773 B
Nix
{ 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 ];
|
|
};
|
|
}
|