nixpkgs/pkgs/applications/misc/remontoire/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

59 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, wrapGAppsHook
, desktop-file-utils
, glib
, gtk3
, json-glib
, libgee
, librsvg
, meson
, ninja
, pkg-config
, python3
, vala
}:
stdenv.mkDerivation (finalAttrs: {
pname = "remontoire";
version = "unstable-2022-06-19";
src = fetchFromGitHub {
owner = "regolith-linux";
repo = "remontoire";
rev = "68d562c78d6e0094ca744bd7161c308f583e93e";
hash = "sha256-Cb6tzTGZdQA9oA04DO/xLBw5F+FRj5BM2Aa62YWGmZA=";
};
nativeBuildInputs = [
glib
meson
ninja
pkg-config
python3
vala
wrapGAppsHook
desktop-file-utils
];
buildInputs = [
gtk3
json-glib
libgee
];
postPatch = ''
chmod +x build-aux/meson/postinstall.py
patchShebangs build-aux/meson/postinstall.py
'';
meta = with lib; {
description = "A small GTK app for presenting keybinding hints";
mainProgram = "remontoire";
homepage = "https://github.com/regolith-linux/remontoire";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ aacebedo ];
};
})