depot/third_party/nixpkgs/pkgs/development/python-modules/goocalendar/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

49 lines
806 B
Nix

{ lib, stdenv
, fetchPypi
, buildPythonPackage
, pkgconfig
, gtk3
, gobject-introspection
, pygtk
, pygobject3
, goocanvas2
, isPy3k
}:
with stdenv.lib;
buildPythonPackage rec {
pname = "GooCalendar";
version = "0.7.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1ccvw1w7xinl574h16hqs6dh3fkpm5n1jrqwjqz3ignxvli5sr38";
};
nativeBuildInputs = [
pkgconfig
gobject-introspection
];
propagatedBuildInputs = [
pygobject3
];
buildInputs = [
gtk3
goocanvas2
];
# No upstream tests available
doCheck = false;
meta = with lib; {
description = "A calendar widget for GTK using PyGoocanvas.";
homepage = "https://goocalendar.tryton.org/";
license = licenses.gpl2;
maintainers = [ maintainers.udono ];
};
}