fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 python3,
3 lib,
4 fetchFromGitHub,
5 cinnamon-translations,
6}:
7
8python3.pkgs.buildPythonApplication rec {
9 pname = "nemo-emblems";
10 version = "6.4.0";
11 pyproject = true;
12
13 # nixpkgs-update: no auto update
14 src = fetchFromGitHub {
15 owner = "linuxmint";
16 repo = "nemo-extensions";
17 rev = version;
18 hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y=";
19 };
20
21 sourceRoot = "${src.name}/nemo-emblems";
22
23 postPatch = ''
24 substituteInPlace setup.py \
25 --replace-fail "/usr/share" "share"
26
27 substituteInPlace nemo-extension/nemo-emblems.py \
28 --replace-fail "/usr/share/locale" "${cinnamon-translations}/share/locale"
29 '';
30
31 build-system = with python3.pkgs; [ setuptools ];
32
33 meta = with lib; {
34 homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-emblems";
35 description = "Change a folder or file emblem in Nemo";
36 longDescription = ''
37 Nemo extension that allows you to change folder or file emblems.
38 When adding this to nemo-with-extensions you also need to add nemo-python.
39 '';
40 license = licenses.gpl3Only;
41 platforms = platforms.linux;
42 teams = [ teams.cinnamon ];
43 };
44}