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

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

61 lines
1.1 KiB
Nix
Raw Normal View History

2024-01-29 06:12:23 +00:00
{ lib
, blueprint-compiler
2023-02-09 19:15:04 +00:00
, desktop-file-utils
2023-08-02 07:40:20 +00:00
, fetchFromSourcehut
2023-02-09 19:15:04 +00:00
, gobject-introspection
2023-02-26 10:45:35 +00:00
, gtk4
, libadwaita
2023-02-09 19:15:04 +00:00
, libnotify
, meson
, ninja
, pkg-config
, python3
, stdenv
, wrapGAppsHook
}:
2024-01-29 06:12:23 +00:00
stdenv.mkDerivation (finalAttrs: {
2023-02-09 19:15:04 +00:00
pname = "confy";
2024-01-29 06:12:23 +00:00
version = "0.7.1";
2023-02-09 19:15:04 +00:00
2023-08-02 07:40:20 +00:00
src = fetchFromSourcehut {
owner = "~fabrixxm";
repo = "confy";
2024-01-29 06:12:23 +00:00
rev = finalAttrs.version;
hash = "sha256-BXQDnRRt2Kuqc1Gwx6Ba6BoEWhICTCsWWkGlBsStyT8=";
2023-02-09 19:15:04 +00:00
};
nativeBuildInputs = [
2023-02-26 10:45:35 +00:00
blueprint-compiler
2023-02-09 19:15:04 +00:00
desktop-file-utils
2024-01-29 06:12:23 +00:00
gobject-introspection
2023-02-09 19:15:04 +00:00
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
2023-02-26 10:45:35 +00:00
gtk4
libadwaita
2023-02-09 19:15:04 +00:00
libnotify
(python3.withPackages (ps: with ps; [
icalendar
pygobject3
]))
];
postPatch = ''
2023-02-26 10:45:35 +00:00
patchShebangs build-aux/meson/postinstall.py
2023-02-09 19:15:04 +00:00
'';
meta = with lib; {
2024-01-29 06:12:23 +00:00
changelog = "https://git.sr.ht/~fabrixxm/confy/refs/${finalAttrs.version}";
2023-02-09 19:15:04 +00:00
description = "Conferences schedule viewer";
homepage = "https://confy.kirgroup.net/";
2024-01-29 06:12:23 +00:00
license = licenses.gpl3Plus;
mainProgram = "confy";
2023-02-09 19:15:04 +00:00
maintainers = with maintainers; [ michaelgrahamevans ];
};
2024-01-29 06:12:23 +00:00
})