2020-01-20 02:56:38 +01:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 03:21:50 +01:00
|
|
|
, pkg-config
|
2021-11-29 17:34:50 +01:00
|
|
|
, lib
|
|
|
|
, stdenv
|
2020-01-20 02:56:38 +01:00
|
|
|
, wrapGAppsHook
|
|
|
|
, libxml2
|
|
|
|
, gtk3
|
2021-12-08 22:44:58 +01:00
|
|
|
, gvfs
|
2020-01-20 02:56:38 +01:00
|
|
|
, cinnamon-desktop
|
2022-07-27 06:05:17 +02:00
|
|
|
, xapp
|
2020-01-20 02:56:38 +01:00
|
|
|
, libexif
|
|
|
|
, exempi
|
|
|
|
, intltool
|
|
|
|
, shared-mime-info
|
2021-05-22 23:23:06 +02:00
|
|
|
, cinnamon-translations
|
2021-05-31 14:33:44 +02:00
|
|
|
, libgsf
|
2020-01-20 02:56:38 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "nemo";
|
2022-07-17 17:27:38 +02:00
|
|
|
version = "5.4.2";
|
2020-01-20 02:56:38 +01:00
|
|
|
|
|
|
|
# TODO: add plugins support (see https://github.com/NixOS/nixpkgs/issues/78327)
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-07-17 17:27:38 +02:00
|
|
|
sha256 = "sha256-Xn9CgGe7j2APaJRLvx58z2w+sN7ZeDScQz53ZBBnsQs=";
|
2020-01-20 02:56:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
cinnamon-desktop
|
|
|
|
libxml2
|
2022-07-27 06:05:17 +02:00
|
|
|
xapp
|
2020-01-20 02:56:38 +01:00
|
|
|
libexif
|
|
|
|
exempi
|
2021-12-08 22:44:58 +01:00
|
|
|
gvfs
|
2020-01-20 02:56:38 +01:00
|
|
|
gobject-introspection
|
2021-05-31 14:33:44 +02:00
|
|
|
libgsf
|
2020-01-20 02:56:38 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config
|
2020-01-20 02:56:38 +01:00
|
|
|
ninja
|
|
|
|
wrapGAppsHook
|
|
|
|
intltool
|
|
|
|
shared-mime-info
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
2021-05-22 23:23:06 +02:00
|
|
|
# use locales from cinnamon-translations
|
|
|
|
"--localedir=${cinnamon-translations}/share/locale"
|
2020-01-20 02:56:38 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-01-20 02:56:38 +01:00
|
|
|
homepage = "https://github.com/linuxmint/nemo";
|
|
|
|
description = "File browser for Cinnamon";
|
|
|
|
license = [ licenses.gpl2 licenses.lgpl2 ];
|
|
|
|
platforms = platforms.linux;
|
2020-09-06 00:40:47 +02:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-01-20 02:56:38 +01:00
|
|
|
};
|
|
|
|
}
|
2021-12-08 22:44:58 +01:00
|
|
|
|