diff options
| author | Raito Bezarius <masterancpp@gmail.com> | 2023-09-27 02:16:46 +0200 |
|---|---|---|
| committer | Raito Bezarius <masterancpp@gmail.com> | 2023-09-27 02:16:46 +0200 |
| commit | 9201646f2ed5a6387427a8bec04df821fef10495 (patch) | |
| tree | 8719813f30171ff341c45e804d9f4b230be3ab34 /pkgs/development | |
| parent | Merge pull request #257428 from marsam/update-pe-parse (diff) | |
| download | nixpkgs-origin/qemu-qmp.tar.gz | |
python3Packages.qemu-qmp: init at 0.0.3origin/qemu-qmp
https://gitlab.com/qemu-project/python-qemu-qmp
`qemu.qmp` is a Python module developed by QEMU developers for structured access
to the QEMU monitor.
Diffstat (limited to 'pkgs/development')
| -rw-r--r-- | pkgs/development/python-modules/qemu-qmp/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/qemu-qmp/default.nix b/pkgs/development/python-modules/qemu-qmp/default.nix new file mode 100644 index 000000000000..248d9ac473f0 --- /dev/null +++ b/pkgs/development/python-modules/qemu-qmp/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchFromGitLab +, setuptools +, setuptools-scm +, wheel +}: + +buildPythonPackage rec { + pname = "qemu.qmp"; + version = "0.0.3"; + format = "pyproject"; + + src = fetchFromGitLab { + owner = "qemu-project"; + repo = "python-qemu-qmp"; + rev = "v${version}"; + hash = "sha256-NOtBea81hv+swJyx8Mv2MIqoK4/K5vyMiN12hhDEpJY="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + wheel + ]; + + pythonImportsCheck = [ "qemu.qmp" ]; + + meta = with lib; { + description = "An asyncio library for communicating with QEMU Monitor Protocol (“QMP”) servers"; + homepage = "https://gitlab.com/qemu-project/python-qemu-qmp"; + license = with licenses; [ gpl2Only lgpl2Only ]; + maintainers = with maintainers; [ raitobezarius ]; + }; +} |
