depot/third_party/nixpkgs/pkgs/desktops/cinnamon/nemo-extensions/nemo-emblems/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

33 lines
835 B
Nix

{ python3
, lib
, fetchFromGitHub
}:
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"
'';
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;
};
}