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
|
|
|
, pygtk
|
|
|
|
, pygobject3
|
|
|
|
, goocanvas2
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GooCalendar";
|
2020-05-09 04:47:33 +00:00
|
|
|
version = "0.7.1";
|
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;
|
2020-05-09 04:47:33 +00:00
|
|
|
sha256 = "1ccvw1w7xinl574h16hqs6dh3fkpm5n1jrqwjqz3ignxvli5sr38";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|