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.

+41
+4
pkgs/desktops/cinnamon/default.nix
··· 13 }); 14 15 # Extensions added here will be shipped by default 16 nemoExtensions = [ 17 folder-color-switcher 18 nemo-fileroller 19 nemo-python 20 ]; ··· 33 cjs = callPackage ./cjs { }; 34 folder-color-switcher = callPackage ./folder-color-switcher { }; 35 nemo = callPackage ./nemo { }; 36 nemo-fileroller = callPackage ./nemo-extensions/nemo-fileroller { }; 37 nemo-python = callPackage ./nemo-extensions/nemo-python { }; 38 nemo-with-extensions = callPackage ./nemo/wrapper.nix { };
··· 13 }); 14 15 # Extensions added here will be shipped by default 16 + # We keep this in sync with a default Mint installation 17 + # Right now (only) nemo-share is missing 18 nemoExtensions = [ 19 folder-color-switcher 20 + nemo-emblems 21 nemo-fileroller 22 nemo-python 23 ]; ··· 36 cjs = callPackage ./cjs { }; 37 folder-color-switcher = callPackage ./folder-color-switcher { }; 38 nemo = callPackage ./nemo { }; 39 + nemo-emblems = callPackage ./nemo-extensions/nemo-emblems { }; 40 nemo-fileroller = callPackage ./nemo-extensions/nemo-fileroller { }; 41 nemo-python = callPackage ./nemo-extensions/nemo-python { }; 42 nemo-with-extensions = callPackage ./nemo/wrapper.nix { };
+37
pkgs/desktops/cinnamon/nemo-extensions/nemo-emblems/default.nix
···
··· 1 + { python3 2 + , lib 3 + , fetchFromGitHub 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "nemo-emblems"; 8 + version = "5.6.0"; 9 + 10 + format = "setuptools"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "linuxmint"; 14 + repo = "nemo-extensions"; 15 + rev = version; 16 + sha256 = "sha256-cxutiz5bc/dZ9D7XzvMWodWNYvNJPj+5IhJDPJwnb5I="; 17 + }; 18 + 19 + sourceRoot = "${src.name}/nemo-emblems"; 20 + 21 + postPatch = '' 22 + substituteInPlace setup.py \ 23 + --replace "/usr/share" "share" 24 + ''; 25 + 26 + meta = with lib; { 27 + homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-emblems"; 28 + description = "Change a folder or file emblem in Nemo"; 29 + longDescription = '' 30 + Nemo extension that allows you to change folder or file emblems. 31 + When adding this to nemo-with-extensions you also need to add nemo-python. 32 + ''; 33 + license = licenses.gpl3Only; 34 + platforms = platforms.linux; 35 + maintainers = teams.cinnamon.members; 36 + }; 37 + }