2189cff663
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
69 lines
1.2 KiB
Nix
69 lines
1.2 KiB
Nix
{ fetchFromGitHub
|
|
, fetchpatch
|
|
, glib
|
|
, gobject-introspection
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, lib, stdenv
|
|
, wrapGAppsHook
|
|
, libxml2
|
|
, gtk3
|
|
, libnotify
|
|
, cinnamon-desktop
|
|
, xapps
|
|
, libexif
|
|
, exempi
|
|
, intltool
|
|
, shared-mime-info
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nemo";
|
|
version = "4.8.6";
|
|
|
|
# TODO: add plugins support (see https://github.com/NixOS/nixpkgs/issues/78327)
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-OUv7l+klu5l1Y7m+iHiq/dDyxH3/hT4k7F9gDuUiGds=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
libnotify
|
|
cinnamon-desktop
|
|
libxml2
|
|
xapps
|
|
libexif
|
|
exempi
|
|
gobject-introspection
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
wrapGAppsHook
|
|
intltool
|
|
shared-mime-info
|
|
];
|
|
|
|
mesonFlags = [
|
|
# TODO: https://github.com/NixOS/nixpkgs/issues/36468
|
|
"-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/linuxmint/nemo";
|
|
description = "File browser for Cinnamon";
|
|
license = [ licenses.gpl2 licenses.lgpl2 ];
|
|
platforms = platforms.linux;
|
|
maintainers = teams.cinnamon.members;
|
|
};
|
|
}
|