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

45 lines
931 B
Nix
Raw Normal View History

2018-08-20 20:31:18 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, pantheon
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
2018-09-08 08:07:55 +00:00
stdenv.mkDerivation rec {
pname = "notejot";
version = "1.5.8";
2018-09-08 08:07:55 +00:00
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
sha256 = "1v7f4xy5iwdjyf4416qpiwzifi68n466faia1hxzsq18fb1ri0af";
2018-09-08 08:07:55 +00:00
};
nativeBuildInputs = [
meson
ninja
pantheon.vala
2018-09-08 08:07:55 +00:00
pkgconfig
python3
wrapGAppsHook
];
buildInputs = [
gtk3
gtksourceview
json-glib
libgee
pantheon.elementary-icon-theme
pantheon.granite
2018-09-08 08:07:55 +00:00
];
postPatch = ''
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
};
}