Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: af138319c068
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 17bdd5003649
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 22, 2020

  1. cinnamon.nemo: init at 4.4.1

    mkg20001 committed Jan 22, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    becf401 View commit details
  2. Merge pull request #77979 from mkg20001/pkg/nemo

    cinnamon.nemo: init at 4.4.1
    worldofpeace authored Jan 22, 2020
    Copy the full SHA
    17bdd50 View commit details
Showing with 77 additions and 0 deletions.
  1. +1 −0 pkgs/desktops/cinnamon/default.nix
  2. +76 −0 pkgs/desktops/cinnamon/nemo/default.nix
1 change: 1 addition & 0 deletions pkgs/desktops/cinnamon/default.nix
Original file line number Diff line number Diff line change
@@ -6,5 +6,6 @@ lib.makeScope pkgs.newScope (self: with self; {
cinnamon-translations = callPackage ./cinnamon-translations { };
cinnamon-settings-daemon = callPackage ./cinnamon-settings-daemon { };
cjs = callPackage ./cjs { };
nemo = callPackage ./nemo { };
xapps = callPackage ./xapps { };
})
76 changes: 76 additions & 0 deletions pkgs/desktops/cinnamon/nemo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{ 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";
version = "4.4.1";

# TODO: add plugins support (see https://github.com/NixOS/nixpkgs/issues/78327)

src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
sha256 = "0sskq0rssxvna937md446x1489hkhxys1zq03hvl8asjqa259w2q";
};

patches = [
(fetchpatch { # details see https://github.com/linuxmint/nemo/pull/2303
url = "https://github.com/linuxmint/nemo/pull/2303/commits/9c1ec7812abe712419317df07d6b64623e8f639d.patch";
sha256 = "09dz7lq3i47rbvycawrxwgjmd9g1mhb76ibx2vq85wck6r08arml";
})
];

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 = [ maintainers.mkg20001 ];
};
}