nixpkgs/pkgs/applications/office/notes-up/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.3 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
2021-09-23 09:28:24 +00:00
, desktop-file-utils
, meson
, ninja
, pkg-config
2021-09-23 09:28:24 +00:00
, python3
, vala
2021-09-23 09:28:24 +00:00
, wrapGAppsHook
, discount
, glib
, gtk3
2021-09-23 09:28:24 +00:00
, gtksourceview4
, gtkspell3
, libgee
2021-09-23 09:28:24 +00:00
, pantheon
, sqlite
2021-09-23 09:28:24 +00:00
, webkitgtk
}:
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
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-12-22 23:19:30 +00:00
passthru = {
updateScript = nix-update-script {
2019-12-22 23:19:30 +00:00
attrPath = pname;
};
};
meta = with lib; {
2021-09-23 09:28:24 +00:00
description = "Markdown notes editor and manager designed for elementary OS";
homepage = "https://github.com/Philip-Scott/Notes-up";
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
};
}