504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
37 lines
991 B
Nix
37 lines
991 B
Nix
{ python3
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cinnamon-translations
|
|
}:
|
|
|
|
let
|
|
srcs = import ../srcs.nix { inherit fetchFromGitHub; };
|
|
in
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nemo-emblems";
|
|
inherit (srcs) version src;
|
|
|
|
format = "setuptools";
|
|
|
|
sourceRoot = "${src.name}/nemo-emblems";
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace "/usr/share" "share"
|
|
|
|
substituteInPlace nemo-extension/nemo-emblems.py \
|
|
--replace "/usr/share/locale" "${cinnamon-translations}/share/locale"
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|