2018-05-18 10:34:12 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pkgconfig
|
|
|
|
, gtk3
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-05-18 10:34:12 +01:00
|
|
|
, pygtk
|
|
|
|
, pygobject3
|
|
|
|
, goocanvas2
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GooCalendar";
|
2019-10-24 07:47:31 +01:00
|
|
|
version = "0.6";
|
2018-05-18 10:34:12 +01:00
|
|
|
|
2019-11-27 17:56:11 +00:00
|
|
|
disabled = !isPy3k;
|
2018-05-18 10:34:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:31 +01:00
|
|
|
sha256 = "4c22c93e19b933d10d8ea1c67a67f485267af82175ef59419427dd39d1e3af18";
|
2018-05-18 10:34:12 +01:00
|
|
|
};
|
2019-11-27 17:56:11 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
2018-05-18 10:34:12 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pygobject3
|
|
|
|
];
|
2019-11-27 17:56:11 +00:00
|
|
|
|
2018-05-18 10:34:12 +01:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
goocanvas2
|
|
|
|
];
|
|
|
|
|
|
|
|
# No upstream tests available
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A calendar widget for GTK using PyGoocanvas.";
|
2019-11-27 17:56:11 +00:00
|
|
|
homepage = https://goocalendar.tryton.org/;
|
|
|
|
license = licenses.gpl2;
|
2018-05-18 10:34:12 +01:00
|
|
|
maintainers = [ maintainers.udono ];
|
|
|
|
};
|
|
|
|
}
|