nixos-config/pkgs/nautilus-annotations/default.nix

35 lines
904 B
Nix
Raw Permalink Normal View History

2025-01-15 06:00:12 +00:00
{ stdenv, lib, fetchFromGitLab, glib, nautilus, gtksourceview5, libadwaita
, autoreconfHook, wrapGAppsHook4, pkg-config }:
2022-07-13 12:32:10 +00:00
stdenv.mkDerivation rec {
pname = "nautilus-annotations";
2023-07-17 03:48:55 +00:00
version = "2.0.1";
2022-07-13 12:32:10 +00:00
2022-11-01 04:27:52 +00:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "madmurphy";
repo = "nautilus-annotations";
2022-07-13 12:32:10 +00:00
rev = version;
2023-07-17 03:48:55 +00:00
hash = "sha256-BivnmsACnpxdd6FV+ncdDd5ZwtJSSzNExoiCXeXIFkA=";
2022-07-13 12:32:10 +00:00
};
2025-01-15 06:00:12 +00:00
nativeBuildInputs =
[ autoreconfHook glib nautilus pkg-config wrapGAppsHook4 ];
2022-07-13 12:32:10 +00:00
2025-01-15 06:00:12 +00:00
buildInputs = [ libadwaita gtksourceview5 ];
2022-07-13 12:32:10 +00:00
preConfigure = ''
./bootstrap
'';
installFlags = [
"NAUTILUS_EXTENSION_DIR=${placeholder "out"}/lib/nautilus/extensions-3.0"
];
meta = with lib; {
homepage = "https://gitlab.gnome.org/madmurphy/nautilus-annotations";
description = "Nautilus extension that adds back file annotations";
license = licenses.gpl3Only;
};
}