Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / gaphas / default.nix
blob479d51683023e734b70a8b7ee85e8b80df05c612
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , poetry-core
6 , gobject-introspection
7 , gtk3
8 , pycairo
9 , pygobject3
10 , typing-extensions
13 buildPythonPackage rec {
14   pname = "gaphas";
15   version = "4.0.0";
16   format = "pyproject";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-x4CVY2i/SCjq/c1Xfx3gdx7jTims1aKd05ziN4DdE1g=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27     gobject-introspection
28   ];
30   buildInputs = [
31     gtk3
32   ];
34   propagatedBuildInputs = [
35     pycairo
36     pygobject3
37     typing-extensions
38   ];
40   pythonImportsCheck = [
41     "gaphas"
42   ];
44   meta = with lib; {
45     description = "GTK+ based diagramming widget";
46     homepage = "https://github.com/gaphor/gaphas";
47     changelog = "https://github.com/gaphor/gaphas/releases/tag/${version}";
48     license = licenses.asl20;
49     maintainers = with maintainers; [ wolfangaukang ];
50   };