nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 808 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 fetchFromGitHub, 6 mock, 7 netifaces, 8 pytestCheckHook, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "wsdiscovery"; 14 version = "2.1.2"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "andreikop"; 19 repo = "python-ws-discovery"; 20 rev = "v${version}"; 21 hash = "sha256-6LGZogNRCnmCrRXvHq9jmHwqW13KQPpaGaao/52JPtk="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 click 28 netifaces 29 ]; 30 31 nativeCheckInputs = [ 32 mock 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "wsdiscovery" ]; 37 38 meta = { 39 description = "WS-Discovery implementation for Python"; 40 homepage = "https://github.com/andreikop/python-ws-discovery"; 41 license = lib.licenses.lgpl3Plus; 42 maintainers = with lib.maintainers; [ fab ]; 43 }; 44}