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

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

60 lines
1.1 KiB
Nix
Raw Normal View History

2023-02-26 10:45:35 +00:00
{ 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
2023-02-09 19:15:04 +00:00
, lib
2023-02-26 10:45:35 +00:00
, libadwaita
2023-02-09 19:15:04 +00:00
, libnotify
, meson
, ninja
, pkg-config
, python3
, stdenv
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "confy";
2023-02-26 10:45:35 +00:00
version = "0.7.0";
2023-02-09 19:15:04 +00:00
2023-08-02 07:40:20 +00:00
src = fetchFromSourcehut {
owner = "~fabrixxm";
repo = "confy";
rev = version;
hash = "sha256-q8WASTNbiBuKb2tPQBmUL9ji60PRAPnYOTYxnUn0MAw=";
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
meson
ninja
pkg-config
wrapGAppsHook
gobject-introspection
2023-02-09 19:15:04 +00:00
];
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; {
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 ];
};
}