Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{
|
|
python3,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cinnamon-translations,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nemo-emblems";
|
|
version = "6.4.0";
|
|
pyproject = true;
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = "nemo-extensions";
|
|
rev = version;
|
|
hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/nemo-emblems";
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace-fail "/usr/share" "share"
|
|
|
|
substituteInPlace nemo-extension/nemo-emblems.py \
|
|
--replace-fail "/usr/share/locale" "${cinnamon-translations}/share/locale"
|
|
'';
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
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;
|
|
teams = [ teams.cinnamon ];
|
|
};
|
|
}
|