nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, stdenv
3, fetchFromGitHub
4, gtk4
5, json-glib
6, libadwaita
7, libgee
8, desktop-file-utils
9, meson
10, ninja
11, nix-update-script
12, pkg-config
13, vala
14, wrapGAppsHook4
15}:
16
17stdenv.mkDerivation rec {
18 pname = "notejot";
19 version = "3.5.1";
20
21 src = fetchFromGitHub {
22 owner = "lainsce";
23 repo = pname;
24 rev = version;
25 hash = "sha256-p5F0OITgfZyvHwndI5r5BE524+nft7A2XfR3BJZFamU=";
26 };
27
28 nativeBuildInputs = [
29 desktop-file-utils
30 meson
31 ninja
32 pkg-config
33 vala
34 wrapGAppsHook4
35 ];
36
37 buildInputs = [
38 gtk4
39 json-glib
40 libadwaita
41 libgee
42 ];
43
44 passthru.updateScript = nix-update-script { };
45
46 meta = with lib; {
47 homepage = "https://github.com/lainsce/notejot";
48 description = "Stupidly-simple notes app";
49 license = licenses.gpl3Plus;
50 maintainers = with maintainers; [ AndersonTorres ];
51 platforms = platforms.linux;
52 mainProgram = "io.github.lainsce.Notejot";
53 };
54}