2018-10-31 21:58:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, vala_0_40, pkgconfig, meson, ninja, python3, granite
|
2018-12-02 11:41:15 +00:00
|
|
|
, gtk3, gnome3, gtksourceview, json-glib, gobject-introspection, wrapGAppsHook }:
|
2018-09-08 09:07:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "notejot";
|
2019-01-03 05:42:24 +00:00
|
|
|
version = "1.5.3";
|
2018-09-08 09:07:55 +01:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-01-03 05:42:24 +00:00
|
|
|
sha256 = "1n41sg9a38p9qp8pz3lx9rnb8kc069vkbwf963zzpzs2745h6s9v";
|
2018-09-08 09:07:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2018-09-08 09:07:55 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
2018-10-31 21:58:23 +00:00
|
|
|
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
|
2018-09-08 09:07:55 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-10-31 21:58:23 +00:00
|
|
|
gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged
|
2018-09-08 09:07:55 +01:00
|
|
|
gnome3.libgee
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
gtksourceview
|
|
|
|
json-glib
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Stupidly-simple sticky notes applet";
|
2018-10-31 21:58:23 +00:00
|
|
|
homepage = https://github.com/lainsce/notejot;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|