2019-10-10 04:47:37 +02:00
|
|
|
{ stdenv, fetchFromGitHub, vala, pkgconfig, meson, ninja, python3, pantheon
|
2019-08-04 09:07:25 +02:00
|
|
|
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
|
2018-09-08 10:07:55 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "notejot";
|
2020-01-17 09:52:48 +01:00
|
|
|
version = "1.6.0";
|
2018-09-08 10:07:55 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-01-17 09:52:48 +01:00
|
|
|
sha256 = "1b65m9gvq8ziqqgnw3vgjpjb1qw7bww40ngd3gardsjg9lcwpxaf";
|
2018-09-08 10:07:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 04:47:37 +02:00
|
|
|
vala
|
2018-09-08 10:07:55 +02:00
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
gtksourceview
|
|
|
|
json-glib
|
2019-08-04 09:07:25 +02:00
|
|
|
libgee
|
2019-02-22 01:11:03 +01:00
|
|
|
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 = pantheon.updateScript {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-09-08 10:07:55 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Stupidly-simple sticky notes applet";
|
2020-04-01 03:11:51 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|