b819e03154
this shouldn't create any rebuilds I removed the "default" goocanvas because it was stuck on the old and deprecated goocanvas 1. Newer goocanvas versions are incompatible with old ones.
48 lines
930 B
Nix
48 lines
930 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
gobject-introspection,
|
|
goocanvas_2,
|
|
gtk3,
|
|
pkg-config,
|
|
pygobject3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "goocalendar";
|
|
version = "0.8.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "GooCalendar";
|
|
inherit version;
|
|
hash = "sha256-LwL5TLRkD6ALucabLUeB0k4rIX+O/aW2ebS2rZPjIUs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gobject-introspection
|
|
];
|
|
|
|
propagatedBuildInputs = [ pygobject3 ];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
goocanvas_2
|
|
];
|
|
|
|
# No upstream tests available
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "goocalendar" ];
|
|
|
|
meta = {
|
|
description = "Calendar widget for GTK using PyGoocanvas";
|
|
homepage = "https://goocalendar.tryton.org/";
|
|
changelog = "https://foss.heptapod.net/tryton/goocalendar/-/blob/${version}/CHANGELOG";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ udono ];
|
|
};
|
|
}
|