2021-05-12 12:12:27 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gtk4
|
|
|
|
, gtksourceview
|
|
|
|
, json-glib
|
|
|
|
, libadwaita
|
|
|
|
, libgee
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, nix-update-script
|
|
|
|
, pantheon
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-09-08 08:07:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "notejot";
|
2021-09-12 13:33:36 +00:00
|
|
|
version = "3.1.5";
|
2018-09-08 08:07:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-09-12 13:33:36 +00:00
|
|
|
hash = "sha256-wsHQvN+sqAMs1QldiRoc9JlF4d54JFqNkqC+lyuHC7M=";
|
2018-09-08 08:07:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 02:47:37 +00:00
|
|
|
vala
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2018-09-08 08:07:55 +00:00
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
2021-05-12 12:12:27 +00:00
|
|
|
gtk4
|
2018-09-08 08:07:55 +00:00
|
|
|
gtksourceview
|
|
|
|
json-glib
|
2021-05-12 12:12:27 +00:00
|
|
|
libadwaita
|
2019-08-04 07:07:25 +00:00
|
|
|
libgee
|
2019-02-22 00:11:03 +00:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-09-08 08:07:55 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2021-05-12 12:12:27 +00:00
|
|
|
chmod +x build-aux/post_install.py
|
|
|
|
patchShebangs build-aux/post_install.py
|
2018-09-08 08:07:55 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/lainsce/notejot";
|
2021-05-12 12:12:27 +00:00
|
|
|
description = "Stupidly-simple sticky notes applet";
|
|
|
|
license = licenses.gpl3Plus;
|
2021-08-02 00:46:24 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ] ++ teams.pantheon.members;
|
2018-10-31 21:58:23 +00:00
|
|
|
platforms = platforms.linux;
|
2018-09-08 08:07:55 +00:00
|
|
|
};
|
2021-05-12 12:12:27 +00:00
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
2018-09-08 08:07:55 +00:00
|
|
|
}
|