49 lines
1.0 KiB
Nix
49 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, pantheon
|
|
, gtk3, gtksourceview, json-glib, gnome3, gobject-introspection, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "notejot";
|
|
version = "1.5.3";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lainsce";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1n41sg9a38p9qp8pz3lx9rnb8kc069vkbwf963zzpzs2745h6s9v";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
python3
|
|
pantheon.vala
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
pantheon.elementary-icon-theme
|
|
pantheon.granite
|
|
gnome3.libgee
|
|
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";
|
|
homepage = https://github.com/lainsce/notejot;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|