cinnamon.nemo-fileroller: init at 5.6.1
This commit is contained in:
parent
5b8e77a308
commit
d5434a66e1
|
@ -14,6 +14,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
|
||||
# Extensions added here will be shipped by default
|
||||
nemoExtensions = [
|
||||
nemo-fileroller
|
||||
];
|
||||
|
||||
# blueberry -> pkgs/tools/bluetooth/blueberry/default.nix
|
||||
|
@ -29,6 +30,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
cinnamon-settings-daemon = callPackage ./cinnamon-settings-daemon { };
|
||||
cjs = callPackage ./cjs { };
|
||||
nemo = callPackage ./nemo { };
|
||||
nemo-fileroller = callPackage ./nemo-extensions/nemo-fileroller { };
|
||||
nemo-with-extensions = callPackage ./nemo/wrapper.nix { };
|
||||
mint-artwork = callPackage ./mint-artwork { };
|
||||
mint-cursor-themes = callPackage ./mint-cursor-themes { };
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, pkg-config
|
||||
, ninja
|
||||
, glib
|
||||
, gtk3
|
||||
, nemo
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nemo-fileroller";
|
||||
version = "5.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "nemo-extensions";
|
||||
rev = "nemo-fileroller-${version}";
|
||||
sha256 = "sha256-dPmAHuJ0ZRTAwhnMMZEu1e9+qZRYCnlaaoCdUP45W+s=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/nemo-fileroller";
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
pkg-config
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
nemo
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/nemo-fileroller.c \
|
||||
--replace "file-roller" "${lib.getExe gnome.file-roller}"
|
||||
'';
|
||||
|
||||
PKG_CONFIG_LIBNEMO_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/${nemo.extensiondir}";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-fileroller";
|
||||
description = "Nemo file roller extension";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.cinnamon.members;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue