biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / wsdiscovery / default.nix
blob9d5d1e884cb4440db624f54402947beec60fbe92
2   lib,
3   buildPythonPackage,
4   click,
5   fetchFromGitHub,
6   mock,
7   netifaces,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "wsdiscovery";
14   version = "2.0.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "andreikop";
21     repo = "python-ws-discovery";
22     rev = version;
23     hash = "sha256-6LGZogNRCnmCrRXvHq9jmHwqW13KQPpaGaao/52JPtk=";
24   };
26   propagatedBuildInputs = [
27     click
28     netifaces
29   ];
31   nativeCheckInputs = [
32     mock
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [ "wsdiscovery" ];
38   meta = with lib; {
39     description = "WS-Discovery implementation for Python";
40     homepage = "https://github.com/andreikop/python-ws-discovery";
41     license = with licenses; [ lgpl3Plus ];
42     maintainers = with maintainers; [ fab ];
43   };