2021-01-24 00:29:22 +00:00
|
|
|
{ lib
|
2018-05-18 09:34:12 +00:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2018-05-18 09:34:12 +00:00
|
|
|
, gtk3
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-05-18 09:34:12 +00:00
|
|
|
, pygobject3
|
|
|
|
, goocanvas2
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GooCalendar";
|
2021-06-18 21:47:17 +00:00
|
|
|
version = "0.7.2";
|
2018-05-18 09:34:12 +00:00
|
|
|
|
2019-11-27 17:56:11 +00:00
|
|
|
disabled = !isPy3k;
|
2018-05-18 09:34:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 21:47:17 +00:00
|
|
|
sha256 = "318b3b7790ac9d6d98881eee3b676fc9c17fc15d21dcdaff486e3c303333b41a";
|
2018-05-18 09:34:12 +00:00
|
|
|
};
|
2019-11-27 17:56:11 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-11-27 17:56:11 +00:00
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
2018-05-18 09:34:12 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pygobject3
|
|
|
|
];
|
2019-11-27 17:56:11 +00:00
|
|
|
|
2018-05-18 09:34:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
goocanvas2
|
|
|
|
];
|
|
|
|
|
|
|
|
# No upstream tests available
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-05-18 09:34:12 +00:00
|
|
|
description = "A calendar widget for GTK using PyGoocanvas.";
|
2020-02-29 13:53:00 +00:00
|
|
|
homepage = "https://goocalendar.tryton.org/";
|
2019-11-27 17:56:11 +00:00
|
|
|
license = licenses.gpl2;
|
2018-05-18 09:34:12 +00:00
|
|
|
maintainers = [ maintainers.udono ];
|
|
|
|
};
|
|
|
|
}
|