mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
a211d94291
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
55 lines
935 B
Nix
55 lines
935 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, gtk4
|
|
, json-glib
|
|
, libadwaita
|
|
, libgee
|
|
, desktop-file-utils
|
|
, meson
|
|
, ninja
|
|
, nix-update-script
|
|
, pkg-config
|
|
, vala
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "notejot";
|
|
version = "3.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lainsce";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-p5F0OITgfZyvHwndI5r5BE524+nft7A2XfR3BJZFamU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
json-glib
|
|
libadwaita
|
|
libgee
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lainsce/notejot";
|
|
description = "Stupidly-simple notes app";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "io.github.lainsce.Notejot";
|
|
};
|
|
}
|