depot/third_party/nixpkgs/pkgs/development/python-modules/gaphas/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

51 lines
911 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, poetry-core
, gobject-introspection
, gtk3
, pycairo
, pygobject3
, typing-extensions
}:
buildPythonPackage rec {
pname = "gaphas";
version = "3.9.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-hw8aGjsrx6xWPbFybpss5EB3eg6tmxgkXpGiWguLKP4=";
};
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 ];
};
}