2022-08-12 12:06:08 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, getent }:
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "papirus-folders";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.13.1";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PapirusDevelopmentTeam";
|
|
|
|
repo = "papirus-folders";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-BY1hnAGz31Deffy/EGKy/nuPKmpAA0u8FzPYgr1Plfs=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
buildInputs = [
|
|
|
|
getent
|
|
|
|
];
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace ./papirus-folders --replace "getent" "${getent}/bin/getent"
|
|
|
|
'';
|
|
|
|
|
2022-07-14 12:49:19 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|