2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, nix-update-script, vala, pkg-config, meson, ninja, python3, pantheon
|
2019-08-04 08:07:25 +01:00
|
|
|
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
|
2018-09-08 09:07:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "notejot";
|
2020-04-15 05:11:32 +01:00
|
|
|
version = "1.6.3";
|
2018-09-08 09:07:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-15 05:11:32 +01:00
|
|
|
sha256 = "170dzgd6cnf2k3hfifjysmdggpskx6v1pjmblqgbwaj2d3snf3h8";
|
2018-09-08 09:07:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 03:47:37 +01:00
|
|
|
vala
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2018-09-08 09:07:55 +01:00
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
gtksourceview
|
|
|
|
json-glib
|
2019-08-04 08:07:25 +01:00
|
|
|
libgee
|
2019-02-22 00:11:03 +00:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-09-08 09:07:55 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 23:19:30 +00:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-08 09:07:55 +01:00
|
|
|
description = "Stupidly-simple sticky notes applet";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/lainsce/notejot";
|
2018-10-31 21:58:23 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2018-09-08 09:07:55 +01:00
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
2018-10-31 21:58:23 +00:00
|
|
|
platforms = platforms.linux;
|
2018-09-08 09:07:55 +01:00
|
|
|
};
|
|
|
|
}
|