9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
51 lines
912 B
Nix
51 lines
912 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, poetry-core
|
|
, gobject-introspection
|
|
, gtk3
|
|
, pycairo
|
|
, pygobject3
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gaphas";
|
|
version = "3.11.3";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-NpmNIwZqvWAJDkUEb6+GpfQaRCVtjQk4odkaOd2D2ok=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
buildInputs = [
|
|
gobject-introspection
|
|
gtk3
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pycairo
|
|
pygobject3
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"gaphas"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "GTK+ based diagramming widget";
|
|
homepage = "https://github.com/gaphor/gaphas";
|
|
changelog = "https://github.com/gaphor/gaphas/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ wolfangaukang ];
|
|
};
|
|
}
|