ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
45 lines
821 B
Nix
45 lines
821 B
Nix
{ 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;
|
|
};
|
|
}
|