2018-05-18 10:34:12 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pkgconfig
|
|
|
|
, gtk3
|
|
|
|
, gobjectIntrospection
|
|
|
|
, pygtk
|
|
|
|
, pygobject3
|
|
|
|
, goocanvas2
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GooCalendar";
|
2018-07-22 11:09:46 +01:00
|
|
|
version = "0.4";
|
2018-05-18 10:34:12 +01:00
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:09:46 +01:00
|
|
|
sha256 = "ca3950c2728916d9fb703c886f3940ac9b76739f99ec840b0e1c2c282510e1ab";
|
2018-05-18 10:34:12 +01:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pygtk
|
|
|
|
pygobject3
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
goocanvas2
|
|
|
|
];
|
|
|
|
|
|
|
|
# No upstream tests available
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A calendar widget for GTK using PyGoocanvas.";
|
|
|
|
homepage = https://goocalendar.tryton.org/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.udono ];
|
|
|
|
};
|
|
|
|
}
|