3
0
Fork 0
forked from mirrors/nixpkgs

notejot: 1.6.3 -> 3.0.4

This commit is contained in:
AndersonTorres 2021-05-12 09:12:27 -03:00
parent ac31cfa66b
commit 8352b700e9

View file

@ -1,15 +1,30 @@
{ lib, stdenv, fetchFromGitHub, nix-update-script, vala, pkg-config, meson, ninja, python3, pantheon
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
{ lib
, stdenv
, fetchFromGitHub
, gtk4
, gtksourceview
, json-glib
, libadwaita
, libgee
, meson
, ninja
, nix-update-script
, pantheon
, pkg-config
, python3
, vala
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "notejot";
version = "1.6.3";
version = "3.0.4";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
sha256 = "170dzgd6cnf2k3hfifjysmdggpskx6v1pjmblqgbwaj2d3snf3h8";
hash = "sha256-p8rca3PsnT/3Lp6W30VvqR9aPr6EIuNrH5gsxL0lZ0Q=";
};
nativeBuildInputs = [
@ -20,31 +35,30 @@ stdenv.mkDerivation rec {
python3
wrapGAppsHook
];
buildInputs = [
gtk3
gtk4
gtksourceview
json-glib
libadwaita
libgee
pantheon.elementary-icon-theme
pantheon.granite
];
postPatch = ''
patchShebangs meson/post_install.py
chmod +x build-aux/post_install.py
patchShebangs build-aux/post_install.py
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "Stupidly-simple sticky notes applet";
homepage = "https://github.com/lainsce/notejot";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
description = "Stupidly-simple sticky notes applet";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
passthru.updateScript = nix-update-script {
attrPath = pname;
};
}