2022-07-16 08:45:27 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2022-11-01 04:27:52 +00:00
|
|
|
, fetchFromGitLab
|
2022-07-16 08:45:27 +00:00
|
|
|
, glib
|
|
|
|
, gnome
|
2022-11-01 04:27:52 +00:00
|
|
|
, gtksourceview5
|
2023-07-17 03:48:55 +00:00
|
|
|
, libadwaita
|
2022-07-16 08:45:27 +00:00
|
|
|
, autoreconfHook
|
2024-08-24 04:55:40 +00:00
|
|
|
, wrapGAppsHook4
|
2022-07-16 08:45:27 +00:00
|
|
|
, 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
|
|
|
};
|
|
|
|
|
2023-07-17 03:48:55 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
glib
|
|
|
|
gnome.nautilus
|
|
|
|
pkg-config
|
2024-08-24 04:55:40 +00:00
|
|
|
wrapGAppsHook4
|
2023-07-17 03:48:55 +00:00
|
|
|
];
|
2022-07-13 12:32:10 +00:00
|
|
|
|
2023-07-17 03:48:55 +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;
|
|
|
|
};
|
|
|
|
}
|