python38Packages.gaphas: init at 3.1.9

This commit is contained in:
P. R. d. O 2021-10-31 18:17:04 -06:00
parent 818b88aa9c
commit c3cd0c0a74
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, poetry-core
, gobject-introspection
, gtk3
, pycairo
, pygobject3
, typing-extensions
}:
buildPythonPackage rec {
pname = "gaphas";
version = "3.1.9";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-S6cRsfqXYM4mSVSs2M8fET5ShFClKkGkod2w2y6F2gc=";
};
nativeBuildInputs = [
poetry-core
];
buildInputs = [ gobject-introspection gtk3 ];
propagatedBuildInputs = [
pycairo
pygobject3
typing-extensions
];
pythonImportsCheck = [ "gaphas" ];
meta = with lib; {
description = "GTK+ based diagramming widget";
maintainers = with maintainers; [ wolfangaukang ];
homepage = "https://github.com/gaphor/gaphas";
license = licenses.asl20;
};
}

View File

@ -2920,6 +2920,8 @@ in {
pythonPackages = self;
});
gaphas = callPackage ../development/python-modules/gaphas { };
garminconnect-aio = callPackage ../development/python-modules/garminconnect-aio { };
garminconnect-ha = callPackage ../development/python-modules/garminconnect-ha { };