1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitLab,
5 setuptools,
6 setuptools-scm,
7}:
8
9buildPythonPackage rec {
10 pname = "qemu-qmp";
11 version = "0.0.3";
12 pyproject = true;
13
14 src = fetchFromGitLab {
15 owner = "qemu-project";
16 repo = "python-qemu-qmp";
17 tag = "v${version}";
18 hash = "sha256-NOtBea81hv+swJyx8Mv2MIqoK4/K5vyMiN12hhDEpJY=";
19 };
20
21 build-system = [
22 setuptools
23 setuptools-scm
24 ];
25
26 pythonImportsCheck = [ "qemu.qmp" ];
27
28 meta = {
29 description = "Asyncio library for communicating with QEMU Monitor Protocol (“QMP”) servers";
30 # no changelog, included in the README of the homepage
31 homepage = "https://gitlab.com/qemu-project/python-qemu-qmp";
32 license = with lib.licenses; [
33 lgpl2Plus
34 gpl2Only
35 ];
36
37 maintainers = with lib.maintainers; [ brianmcgillion ];
38 };
39}