1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
Stefan Ellmauthaler eeed4387a2 Various fixes, local-overlay added, added one local package to local overlay
Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
2021-11-06 13:33:06 +01:00

30 lines
547 B
Nix

{ stdenv
, python3
, gtk3
, gobject-introspection
, wrapGAppsHook
, lib
}:
stdenv.mkDerivation rec {
pname = "tray-calendar";
version = "0.9";
src = ./traycalendar.py;
buildInputs = [
(python3.withPackages (pyPkgs: with pyPkgs; [
pygobject3
]))
gtk3
gobject-introspection
];
nativeBuildInputs = [ wrapGAppsHook ];
dontUnpack = true;
installPhase = "install -m755 -D $src $out/bin/traycalendar";
meta = {
license = lib.licenses.gpl3Only;
homepage = "https://github.com/vifon/TrayCalendar";
};
}