nixpkgs/pkgs/data/misc/papirus-folders/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
979 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, getent }:
2022-07-01 22:30:07 +02:00
stdenv.mkDerivation rec {
pname = "papirus-folders";
version = "1.12.0";
src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam";
repo = "papirus-folders";
rev = "v${version}";
sha256 = "sha256-ZZMEZCWO+qW76eqa+TgxWGVz69VkSCPcttLoCrH7ppY=";
};
buildInputs = [
getent
];
2022-07-01 22:30:07 +02:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
patchPhase = ''
substituteInPlace ./papirus-folders --replace "getent" "${getent}/bin/getent"
'';
2022-07-01 22:30:07 +02:00
meta = with lib; {
description = "A tool to change papirus icon theme color";
longDescription = ''
papirus-folders is a bash script that allows changing the color of
folders in Papirus icon theme and its forks (which based on version 20171007 and newer).
'';
homepage = "https://github.com/PapirusDevelopmentTeam/papirus-folders";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.aacebedo ];
};
}