about summary refs log tree commit diff
path: root/pkgs/applications/misc/confy
diff options
context:
space:
mode:
authorMichael Evans <michaelgrahamevans@gmail.com>2023-02-09 21:15:04 +0200
committerMichael Evans <michaelgrahamevans@gmail.com>2023-03-13 20:22:44 +0200
commitcb24745b7f028148131e3c1f8cd14f509efe70b9 (patch)
treed6aae5375657fd605598728f2988bd13d9171b0c /pkgs/applications/misc/confy
parentb29350a3eab5031017663c4ce070fe1be8255422 (diff)
confy: init at 0.6.4
Diffstat (limited to 'pkgs/applications/misc/confy')
-rw-r--r--pkgs/applications/misc/confy/default.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/applications/misc/confy/default.nix b/pkgs/applications/misc/confy/default.nix
new file mode 100644
index 0000000000000..b015d7059ed3c
--- /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 ];
+  };
+}