diff --git a/pkgs/applications/misc/confy/default.nix b/pkgs/applications/misc/confy/default.nix new file mode 100644 index 00000000000..b015d7059ed --- /dev/null +++ b/pkgs/applications/misc/confy/default.nix @@ -0,0 +1,57 @@ +{ appstream-glib +, desktop-file-utils +, fetchurl +, gobject-introspection +, gtk3 +, lib +, libnotify +, libhandy +, meson +, ninja +, pkg-config +, python3 +, stdenv +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "confy"; + version = "0.6.4"; + + src = fetchurl { + url = "https://git.sr.ht/~fabrixxm/confy/archive/${version}.tar.gz"; + sha256 = "0v74pdyihj7r9gb3k2rkvbphan27ajlvycscd8xzrnsv74lcmbpm"; + }; + + nativeBuildInputs = [ + desktop-file-utils + meson + ninja + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ + gobject-introspection + gtk3 + libhandy + libnotify + (python3.withPackages (ps: with ps; [ + icalendar + pygobject3 + ])) + ]; + + postPatch = '' + # Remove executable bits so that meson runs the script with our Python interpreter + chmod -x build-aux/meson/postinstall.py + ''; + + meta = with lib; { + description = "Conferences schedule viewer"; + homepage = "https://confy.kirgroup.net/"; + changelog = "https://git.sr.ht/~fabrixxm/confy/refs/${version}"; + license = licenses.gpl3; + maintainers = with maintainers; [ michaelgrahamevans ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9496e82a6d8..74090db885f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -460,6 +460,8 @@ with pkgs; crc = callPackage ../applications/networking/cluster/crc { }; + confy = callPackage ../applications/misc/confy { }; + coordgenlibs = callPackage ../development/libraries/coordgenlibs { }; copilot-cli = callPackage ../tools/admin/copilot-cli { };