nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 43 lines 804 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 ifaddr, 6 jsonschema, 7 pyee, 8 tornado, 9 zeroconf, 10}: 11 12buildPythonPackage rec { 13 pname = "webthing"; 14 version = "0.15.0"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "WebThingsIO"; 19 repo = "webthing-python"; 20 rev = "v${version}"; 21 hash = "sha256-z4GVycdq25QZxuzZPLg6nhj0MAD1bHrsqph4yHgmRhg="; 22 }; 23 24 propagatedBuildInputs = [ 25 ifaddr 26 jsonschema 27 pyee 28 tornado 29 zeroconf 30 ]; 31 32 # No tests are present 33 doCheck = false; 34 35 pythonImportsCheck = [ "webthing" ]; 36 37 meta = { 38 description = "Python implementation of a Web Thing server"; 39 homepage = "https://github.com/WebThingsIO/webthing-python"; 40 license = with lib.licenses; [ mpl20 ]; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43}