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

49 lines
1.0 KiB
Nix
Raw Normal View History

2018-08-20 20:31:18 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, pantheon
, gtk3, gtksourceview, json-glib, gnome3, gobject-introspection, wrapGAppsHook }:
2018-09-08 08:07:55 +00:00
stdenv.mkDerivation rec {
pname = "notejot";
version = "1.5.4";
2018-09-08 08:07:55 +00:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
sha256 = "1lv4s2mqddi6lz414kqpp4vcwnkjibc0k2xhnczaa1wf3azlxjgf";
2018-09-08 08:07:55 +00:00
};
nativeBuildInputs = [
gobject-introspection
2018-09-08 08:07:55 +00:00
meson
ninja
pkgconfig
python3
2018-08-20 20:31:18 +00:00
pantheon.vala
2018-09-08 08:07:55 +00:00
wrapGAppsHook
];
buildInputs = [
2018-08-20 20:31:18 +00:00
pantheon.elementary-icon-theme
pantheon.granite
2018-09-08 08:07:55 +00:00
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";
2018-10-31 21:58:23 +00:00
homepage = https://github.com/lainsce/notejot;
license = licenses.gpl2Plus;
2018-09-08 08:07:55 +00:00
maintainers = with maintainers; [ worldofpeace ];
2018-10-31 21:58:23 +00:00
platforms = platforms.linux;
2018-09-08 08:07:55 +00:00
};
}