2021-06-30 01:22:36 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-10-10 02:47:37 +00:00
|
|
|
, fetchFromGitHub
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2021-09-23 09:28:24 +00:00
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config
|
2021-09-23 09:28:24 +00:00
|
|
|
, python3
|
2021-06-30 01:22:36 +00:00
|
|
|
, vala
|
2021-09-23 09:28:24 +00:00
|
|
|
, wrapGAppsHook
|
|
|
|
, discount
|
|
|
|
, glib
|
2019-10-10 02:47:37 +00:00
|
|
|
, gtk3
|
2021-09-23 09:28:24 +00:00
|
|
|
, gtksourceview4
|
2019-10-10 02:47:37 +00:00
|
|
|
, gtkspell3
|
|
|
|
, libgee
|
2021-09-23 09:28:24 +00:00
|
|
|
, pantheon
|
2019-10-10 02:47:37 +00:00
|
|
|
, sqlite
|
2021-09-23 09:28:24 +00:00
|
|
|
, webkitgtk
|
2021-06-30 01:22:36 +00:00
|
|
|
}:
|
2019-02-05 20:34:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "notes-up";
|
2021-09-23 09:28:24 +00:00
|
|
|
version = "2.0.6";
|
2019-02-05 20:34:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Philip-Scott";
|
|
|
|
repo = "Notes-up";
|
2021-09-23 09:28:24 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-t9BCtdWd2JLrKTcmri1Lgl5RLBYD2xWCtMxoVXz0XPk=";
|
2019-02-05 20:34:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-09-23 09:28:24 +00:00
|
|
|
desktop-file-utils
|
|
|
|
meson
|
2019-02-05 20:34:54 +00:00
|
|
|
ninja
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2021-09-23 09:28:24 +00:00
|
|
|
python3
|
|
|
|
vala
|
2019-02-05 20:34:54 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
discount
|
|
|
|
glib
|
|
|
|
gtk3
|
2021-09-23 09:28:24 +00:00
|
|
|
gtksourceview4
|
2019-02-05 20:34:54 +00:00
|
|
|
gtkspell3
|
|
|
|
libgee
|
|
|
|
pantheon.granite
|
|
|
|
sqlite
|
|
|
|
webkitgtk
|
|
|
|
];
|
|
|
|
|
2021-09-23 09:28:24 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
2019-02-22 18:45:57 +00:00
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2020-07-29 16:33:39 +00: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; {
|
2021-09-23 09:28:24 +00:00
|
|
|
description = "Markdown notes editor and manager designed for elementary OS";
|
2020-03-19 14:43:32 +00:00
|
|
|
homepage = "https://github.com/Philip-Scott/Notes-up";
|
2021-06-30 01:22:36 +00:00
|
|
|
license = licenses.gpl2Only;
|
2021-08-02 00:46:24 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
|
2019-02-05 20:34:54 +00:00
|
|
|
platforms = platforms.linux;
|
2021-09-23 09:28:24 +00:00
|
|
|
mainProgram = "com.github.philip_scott.notes-up";
|
2019-02-05 20:34:54 +00:00
|
|
|
};
|
|
|
|
}
|