3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/notejot/default.nix

65 lines
1.1 KiB
Nix
Raw Normal View History

2021-05-12 13:12:27 +01:00
{ lib
, stdenv
, fetchFromGitHub
, gtk4
, gtksourceview
, json-glib
, libadwaita
, libgee
, meson
, ninja
, nix-update-script
, pantheon
, pkg-config
, python3
, vala
, wrapGAppsHook
}:
2018-09-08 09:07:55 +01:00
stdenv.mkDerivation rec {
pname = "notejot";
2021-05-12 13:12:27 +01:00
version = "3.0.4";
2018-09-08 09:07:55 +01:00
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
2021-05-12 13:12:27 +01:00
hash = "sha256-p8rca3PsnT/3Lp6W30VvqR9aPr6EIuNrH5gsxL0lZ0Q=";
2018-09-08 09:07:55 +01:00
};
nativeBuildInputs = [
meson
ninja
vala
pkg-config
2018-09-08 09:07:55 +01:00
python3
wrapGAppsHook
];
buildInputs = [
2021-05-12 13:12:27 +01:00
gtk4
2018-09-08 09:07:55 +01:00
gtksourceview
json-glib
2021-05-12 13:12:27 +01:00
libadwaita
libgee
pantheon.elementary-icon-theme
pantheon.granite
2018-09-08 09:07:55 +01:00
];
postPatch = ''
2021-05-12 13:12:27 +01:00
chmod +x build-aux/post_install.py
patchShebangs build-aux/post_install.py
2018-09-08 09:07:55 +01:00
'';
meta = with lib; {
homepage = "https://github.com/lainsce/notejot";
2021-05-12 13:12:27 +01:00
description = "Stupidly-simple sticky notes applet";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
2018-10-31 21:58:23 +00:00
platforms = platforms.linux;
2018-09-08 09:07:55 +01:00
};
2021-05-12 13:12:27 +01:00
passthru.updateScript = nix-update-script {
attrPath = pname;
};
2018-09-08 09:07:55 +01:00
}