acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / re / remontoire / package.nix
blob95e3fecef272c095f70c5b6e5e4786301763c414
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , wrapGAppsHook3
5 , desktop-file-utils
6 , glib
7 , gtk3
8 , json-glib
9 , libgee
10 , meson
11 , ninja
12 , pkg-config
13 , python3
14 , vala
17 stdenv.mkDerivation (finalAttrs: {
18   pname = "remontoire";
19   version = "unstable-2022-06-19";
21   src = fetchFromGitHub {
22     owner = "regolith-linux";
23     repo = "remontoire";
24     rev = "68d562c78d6e0094ca744bd7161c308f583e93e";
25     hash = "sha256-Cb6tzTGZdQA9oA04DO/xLBw5F+FRj5BM2Aa62YWGmZA=";
26   };
28   nativeBuildInputs = [
29     glib
30     meson
31     ninja
32     pkg-config
33     python3
34     vala
35     wrapGAppsHook3
36     desktop-file-utils
37   ];
39   buildInputs = [
40     gtk3
41     json-glib
42     libgee
43   ];
45   postPatch = ''
46     chmod +x build-aux/meson/postinstall.py
47     patchShebangs build-aux/meson/postinstall.py
48   '';
50   meta = with lib; {
51     description = "Small GTK app for presenting keybinding hints";
52     mainProgram = "remontoire";
53     homepage = "https://github.com/regolith-linux/remontoire";
54     license = licenses.gpl3Plus;
55     platforms = platforms.linux;
56     maintainers = with maintainers; [ aacebedo ];
57   };