diff --git a/pkgs/default.nix b/pkgs/default.nix index dd94ce62..a2ff19bc 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -41,6 +41,7 @@ let mopidy-beets = callPackage ./mopidy-beets.nix { }; mopidy-funkwhale = callPackage ./mopidy-funkwhale.nix { }; mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { }; + nautilus-annotations = callPackage ./nautilus-annotations { }; neuwaita-icon-theme = callPackage ./neuwaita-icon-theme { }; pop-launcher = callPackage ./pop-launcher.nix { }; pop-launcher-plugin-duckduckgo-bangs = diff --git a/pkgs/nautilus-annotations/default.nix b/pkgs/nautilus-annotations/default.nix new file mode 100644 index 00000000..d9756f30 --- /dev/null +++ b/pkgs/nautilus-annotations/default.nix @@ -0,0 +1,38 @@ +{ stdenv, lib, fetchgit, glib, gnome, gtksourceview4, autoreconfHook, wrapGAppsHook, pkg-config }: + +stdenv.mkDerivation rec { + pname = "nautilus-annotations"; + version = "0.8.4"; + + src = fetchgit { + url = "https://gitlab.gnome.org/madmurphy/nautilus-annotations.git"; + rev = version; + sha256 = "sha256-wHM+ny4vhrV1Jyk9L6Qb8D556jntYAPG+ynGZLqpe6Q="; + }; + + nativeBuildInputs = [ + autoreconfHook + glib + gnome.nautilus + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ + gtksourceview4 + ]; + + 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; + }; +}