mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
30 lines
547 B
Nix
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";
|
|
};
|
|
}
|