nixpkgs/pkgs/applications/misc/notejot/default.nix

51 lines
1 KiB
Nix
Raw Normal View History

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