depot/third_party/nixpkgs/pkgs/development/python-modules/goocalendar/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

46 lines
774 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pkg-config
, gtk3
, gobject-introspection
, pygobject3
, goocanvas2
, isPy3k
}:
buildPythonPackage rec {
pname = "GooCalendar";
version = "0.7.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1ccvw1w7xinl574h16hqs6dh3fkpm5n1jrqwjqz3ignxvli5sr38";
};
nativeBuildInputs = [
pkg-config
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 ];
};
}