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";
|
2020-05-09 05:47:33 +01:00
|
|
|
version = "0.7.1";
|
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;
|
2020-05-09 05:47:33 +01:00
|
|
|
sha256 = "1ccvw1w7xinl574h16hqs6dh3fkpm5n1jrqwjqz3ignxvli5sr38";
|
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.";
|
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 10:34:12 +01:00
|
|
|
maintainers = [ maintainers.udono ];
|
|
|
|
};
|
|
|
|
}
|