2018-05-18 02:34:12 -07:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pkgconfig
|
|
|
|
, gtk3
|
2018-12-02 03:41:15 -08:00
|
|
|
, gobject-introspection
|
2018-05-18 02:34:12 -07:00
|
|
|
, pygtk
|
|
|
|
, pygobject3
|
|
|
|
, goocanvas2
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GooCalendar";
|
2020-05-08 21:47:33 -07:00
|
|
|
version = "0.7.1";
|
2018-05-18 02:34:12 -07:00
|
|
|
|
2019-11-27 09:56:11 -08:00
|
|
|
disabled = !isPy3k;
|
2018-05-18 02:34:12 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-08 21:47:33 -07:00
|
|
|
sha256 = "1ccvw1w7xinl574h16hqs6dh3fkpm5n1jrqwjqz3ignxvli5sr38";
|
2018-05-18 02:34:12 -07:00
|
|
|
};
|
2019-11-27 09:56:11 -08:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
2018-05-18 02:34:12 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pygobject3
|
|
|
|
];
|
2019-11-27 09:56:11 -08:00
|
|
|
|
2018-05-18 02:34:12 -07:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
goocanvas2
|
|
|
|
];
|
|
|
|
|
|
|
|
# No upstream tests available
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A calendar widget for GTK using PyGoocanvas.";
|
2020-02-29 05:53:00 -08:00
|
|
|
homepage = "https://goocalendar.tryton.org/";
|
2019-11-27 09:56:11 -08:00
|
|
|
license = licenses.gpl2;
|
2018-05-18 02:34:12 -07:00
|
|
|
maintainers = [ maintainers.udono ];
|
|
|
|
};
|
|
|
|
}
|