mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 22:57:55 +00:00
52 lines
941 B
Nix
52 lines
941 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitLab
|
|
, glib
|
|
, gnome
|
|
, gtksourceview5
|
|
, libadwaita
|
|
, autoreconfHook
|
|
, wrapGAppsHook
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nautilus-annotations";
|
|
version = "2.0.1";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "madmurphy";
|
|
repo = "nautilus-annotations";
|
|
rev = version;
|
|
hash = "sha256-BivnmsACnpxdd6FV+ncdDd5ZwtJSSzNExoiCXeXIFkA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
glib
|
|
gnome.nautilus
|
|
pkg-config
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
gtksourceview5
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|