2018-08-20 22:31:18 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, pantheon
|
2019-02-22 01:11:03 +01:00
|
|
|
, gtk3, gtksourceview, json-glib, gnome3, wrapGAppsHook }:
|
2018-09-08 10:07:55 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "notejot";
|
2019-02-22 01:11:03 +01:00
|
|
|
version = "1.5.5";
|
2018-09-08 10:07:55 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-02-22 01:11:03 +01:00
|
|
|
sha256 = "0khf6mwidybfgnq4zmhf3af4w6aicipmi12fvs722fqlf1lrkdmd";
|
2018-09-08 10:07:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2019-02-22 01:11:03 +01:00
|
|
|
pantheon.vala
|
2018-09-08 10:07:55 +02:00
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnome3.libgee
|
|
|
|
gtk3
|
|
|
|
gtksourceview
|
|
|
|
json-glib
|
2019-02-22 01:11:03 +01:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-09-08 10:07:55 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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 22:58:23 +01:00
|
|
|
homepage = https://github.com/lainsce/notejot;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|