buffer: init at 0.9.2

This commit is contained in:
Michael Evans 2024-06-04 20:09:47 +02:00
parent a2e77d0bea
commit b0ed5ce2fc

View File

@ -0,0 +1,62 @@
{ lib
, desktop-file-utils
, fetchFromGitLab
, gobject-introspection
, gtk4
, gtksourceview5
, libadwaita
, libspelling
, meson
, ninja
, pkg-config
, python3
, stdenv
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
pname = "buffer";
version = "0.9.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "cheywood";
repo = "buffer";
rev = finalAttrs.version;
hash = "sha256-EIyaFL2AEez8FIErL8+x7QNHnCYxj4mOuz7E+Svvh5I=";
};
nativeBuildInputs = [
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
gtk4
gtksourceview5
libadwaita
libspelling
(python3.withPackages (ps: with ps; [
pygobject3
]))
];
preFixup = ''
gappsWrapperArgs+=(
--prefix PYTHONPATH : "$out/${python3.sitePackages}"
)
'';
meta = with lib; {
description = "Minimal editing space for all those things that don't need keeping";
homepage = "https://gitlab.gnome.org/cheywood/buffer";
license = licenses.gpl3Plus;
mainProgram = "buffer";
maintainers = with maintainers; [ michaelgrahamevans ];
platforms = platforms.linux;
};
})