mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
cinnamon.nemo-emblems: init at 5.6.0
Similar to folder-color-switcher, it sounds like we don't need to patch nemo-emblems.py in any way thanks to how nemo-python works.
This commit is contained in:
parent
d30264c269
commit
b80eb4c2ff
@ -13,8 +13,11 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
});
|
||||
|
||||
# Extensions added here will be shipped by default
|
||||
# We keep this in sync with a default Mint installation
|
||||
# Right now (only) nemo-share is missing
|
||||
nemoExtensions = [
|
||||
folder-color-switcher
|
||||
nemo-emblems
|
||||
nemo-fileroller
|
||||
nemo-python
|
||||
];
|
||||
@ -33,6 +36,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
cjs = callPackage ./cjs { };
|
||||
folder-color-switcher = callPackage ./folder-color-switcher { };
|
||||
nemo = callPackage ./nemo { };
|
||||
nemo-emblems = callPackage ./nemo-extensions/nemo-emblems { };
|
||||
nemo-fileroller = callPackage ./nemo-extensions/nemo-fileroller { };
|
||||
nemo-python = callPackage ./nemo-extensions/nemo-python { };
|
||||
nemo-with-extensions = callPackage ./nemo/wrapper.nix { };
|
||||
|
@ -0,0 +1,37 @@
|
||||
{ python3
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nemo-emblems";
|
||||
version = "5.6.0";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "nemo-extensions";
|
||||
rev = version;
|
||||
sha256 = "sha256-cxutiz5bc/dZ9D7XzvMWodWNYvNJPj+5IhJDPJwnb5I=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/nemo-emblems";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "/usr/share" "share"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-emblems";
|
||||
description = "Change a folder or file emblem in Nemo";
|
||||
longDescription = ''
|
||||
Nemo extension that allows you to change folder or file emblems.
|
||||
When adding this to nemo-with-extensions you also need to add nemo-python.
|
||||
'';
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.cinnamon.members;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user