2024-07-04 01:14:24 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2024-06-15 21:59:32 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "darkcold-gtk-theme";
|
|
|
|
version = "v5.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "originalseed";
|
|
|
|
repo = "darkcold";
|
|
|
|
rev = "71f8fec1fbd62e1bf94fae839efea0acbcd30c0d";
|
|
|
|
hash = "sha256-Wk0TAGRUqAJn7PxyqKV3WnZXx2krEQKF/6KZ+R8ld+U=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p "$out/share/themes/darkcold/"
|
2024-07-04 01:14:24 +02:00
|
|
|
cp -r * "$out/share/themes/darkcold/";
|
|
|
|
cp userContent.css "$out/";
|
2024-06-15 21:59:32 +02:00
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "DarkCold GTK2/3 + Firefox theme";
|
|
|
|
homepage = "https://github.com/${src.owner}/${src.repo}";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|