3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/notejot/default.nix

57 lines
959 B
Nix
Raw Normal View History

2021-05-12 13:12:27 +01:00
{ lib
, stdenv
, fetchFromGitHub
, gtk4
, json-glib
, libadwaita
, libgee
2022-04-20 04:27:32 +01:00
, desktop-file-utils
2021-05-12 13:12:27 +01:00
, meson
, ninja
, nix-update-script
, pkg-config
, vala
2021-10-16 03:10:45 +01:00
, wrapGAppsHook4
2021-05-12 13:12:27 +01:00
}:
2018-09-08 09:07:55 +01:00
stdenv.mkDerivation rec {
pname = "notejot";
2022-04-20 04:27:32 +01:00
version = "3.5.1";
2018-09-08 09:07:55 +01:00
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
2022-04-20 04:27:32 +01:00
hash = "sha256-p5F0OITgfZyvHwndI5r5BE524+nft7A2XfR3BJZFamU=";
2018-09-08 09:07:55 +01:00
};
nativeBuildInputs = [
2022-04-20 04:27:32 +01:00
desktop-file-utils
2018-09-08 09:07:55 +01:00
meson
ninja
pkg-config
2021-10-16 03:10:45 +01:00
vala
wrapGAppsHook4
2018-09-08 09:07:55 +01:00
];
2021-10-16 03:10:45 +01:00
2018-09-08 09:07:55 +01:00
buildInputs = [
2021-05-12 13:12:27 +01:00
gtk4
2018-09-08 09:07:55 +01:00
json-glib
2021-05-12 13:12:27 +01:00
libadwaita
libgee
2018-09-08 09:07:55 +01:00
];
2021-10-16 03:10:45 +01:00
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
homepage = "https://github.com/lainsce/notejot";
description = "Stupidly-simple notes app";
2021-05-12 13:12:27 +01:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
2018-10-31 21:58:23 +00:00
platforms = platforms.linux;
mainProgram = "io.github.lainsce.Notejot";
2018-09-08 09:07:55 +01:00
};
}