at master 829 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pycryptodome, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "aiowmi"; 13 version = "0.2.3"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.10"; 17 18 src = fetchFromGitHub { 19 owner = "cesbit"; 20 repo = "aiowmi"; 21 tag = "v${version}"; 22 hash = "sha256-bKxGIUxGAW1GDa5xlv9NNWr5xLTdpK5dSsym/5y9nGQ="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ pycryptodome ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "aiowmi" ]; 32 33 meta = { 34 description = "Python WMI Queries"; 35 homepage = "https://github.com/cesbit/aiowmi"; 36 changelog = "https://github.com/cesbit/aiowmi/releases/tag/v${version}"; 37 license = lib.licenses.gpl3Only; 38 maintainers = with lib.maintainers; [ fab ]; 39 }; 40}