nixpkgs/pkgs/desktops/cinnamon/nemo/default.nix

70 lines
1.2 KiB
Nix
Raw Normal View History

2020-01-20 02:56:38 +01:00
{ fetchFromGitHub
, fetchpatch
, glib
, gobject-introspection
, meson
, ninja
, pkgconfig
, stdenv
, wrapGAppsHook
, libxml2
, gtk3
, libnotify
, cinnamon-desktop
, xapps
, libexif
, exempi
, intltool
, shared-mime-info
}:
stdenv.mkDerivation rec {
pname = "nemo";
2020-09-06 00:03:58 +02:00
version = "4.6.5";
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;
2020-09-06 00:03:58 +02:00
sha256 = "04rgdph9pxdj5wzzv2i0pgyhg3s74nh9jf1ry9z6v5bvv222ili4";
2020-01-20 02:56:38 +01:00
};
outputs = [ "out" "dev" ];
buildInputs = [
glib
gtk3
libnotify
cinnamon-desktop
libxml2
xapps
libexif
exempi
gobject-introspection
];
nativeBuildInputs = [
meson
pkgconfig
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 stdenv.lib; {
homepage = "https://github.com/linuxmint/nemo";
description = "File browser for Cinnamon";
license = [ licenses.gpl2 licenses.lgpl2 ];
platforms = platforms.linux;
maintainers = teams.cinnamon.members;
2020-01-20 02:56:38 +01:00
};
}