nixpkgs/pkgs/applications/misc/confy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1.1 KiB
Nix
Raw Normal View History

2023-02-09 19:15:04 +00:00
{ appstream-glib
, desktop-file-utils
, fetchurl
, gobject-introspection
, gtk3
, lib
, libnotify
, libhandy
, meson
, ninja
, pkg-config
, python3
, stdenv
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "confy";
2023-06-23 08:19:09 +00:00
version = "0.6.5";
2023-02-09 19:15:04 +00:00
src = fetchurl {
url = "https://git.sr.ht/~fabrixxm/confy/archive/${version}.tar.gz";
2023-06-23 08:19:09 +00:00
sha256 = "sha256-zfuwOZBSGQzJUc36M6C5wSHarLbPFqayQVFo+WbVo7k=";
2023-02-09 19:15:04 +00:00
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkg-config
wrapGAppsHook
gobject-introspection
2023-02-09 19:15:04 +00:00
];
buildInputs = [
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 ];
};
}