Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / wsdiscovery / default.nix
blob784172b7cef42d41832ce9b80cd54e96606fb5be
1 { lib
2 , buildPythonPackage
3 , click
4 , fetchFromGitHub
5 , mock
6 , netifaces
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "wsdiscovery";
13   version = "2.0.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "andreikop";
20     repo = "python-ws-discovery";
21     rev = version;
22     hash = "sha256-6LGZogNRCnmCrRXvHq9jmHwqW13KQPpaGaao/52JPtk=";
23   };
25   propagatedBuildInputs = [
26     click
27     netifaces
28   ];
30   nativeCheckInputs = [
31     mock
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [
36     "wsdiscovery"
37   ];
39   meta = with lib; {
40     description = "WS-Discovery implementation for Python";
41     homepage = "https://github.com/andreikop/python-ws-discovery";
42     license = with licenses; [ lgpl3Plus ];
43     maintainers = with maintainers; [ fab ];
44   };