notejot: 1.6.3 -> 3.0.4
This commit is contained in:
parent
ac31cfa66b
commit
8352b700e9
@ -1,15 +1,30 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, nix-update-script, vala, pkg-config, meson, ninja, python3, pantheon
|
{ lib
|
||||||
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gtk4
|
||||||
|
, gtksourceview
|
||||||
|
, json-glib
|
||||||
|
, libadwaita
|
||||||
|
, libgee
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, nix-update-script
|
||||||
|
, pantheon
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, vala
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "notejot";
|
pname = "notejot";
|
||||||
version = "1.6.3";
|
version = "3.0.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lainsce";
|
owner = "lainsce";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "170dzgd6cnf2k3hfifjysmdggpskx6v1pjmblqgbwaj2d3snf3h8";
|
hash = "sha256-p8rca3PsnT/3Lp6W30VvqR9aPr6EIuNrH5gsxL0lZ0Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -20,31 +35,30 @@ stdenv.mkDerivation rec {
|
|||||||
python3
|
python3
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3
|
gtk4
|
||||||
gtksourceview
|
gtksourceview
|
||||||
json-glib
|
json-glib
|
||||||
|
libadwaita
|
||||||
libgee
|
libgee
|
||||||
pantheon.elementary-icon-theme
|
pantheon.elementary-icon-theme
|
||||||
pantheon.granite
|
pantheon.granite
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
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; {
|
meta = with lib; {
|
||||||
description = "Stupidly-simple sticky notes applet";
|
|
||||||
homepage = "https://github.com/lainsce/notejot";
|
homepage = "https://github.com/lainsce/notejot";
|
||||||
license = licenses.gpl2Plus;
|
description = "Stupidly-simple sticky notes applet";
|
||||||
maintainers = with maintainers; [ ];
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user