2023-10-23 11:33:14 -06:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2024-04-28 10:39:20 -06:00
|
|
|
, unstableGitUpdater
|
2023-10-23 11:33:14 -06:00
|
|
|
, stdenvNoCC
|
|
|
|
, ... }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (self: {
|
2024-04-29 09:10:35 -06:00
|
|
|
pname = "alacritty-theme";
|
2024-10-27 12:03:43 -06:00
|
|
|
version = "0-unstable-2024-10-24";
|
2023-10-23 11:33:14 -06:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alacritty";
|
|
|
|
repo = "alacritty-theme";
|
2024-10-27 12:03:43 -06:00
|
|
|
rev = "c424c57c8a2b6a62b6602d61ebfbc7e50f2c81d8";
|
|
|
|
hash = "sha256-KdjysVDs4oGU9gQwkW36aHmK30KiCdVNiREJOAETxNw=";
|
2023-10-23 11:33:14 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
preferLocalBuild = true;
|
|
|
|
|
|
|
|
sourceRoot = "${self.src.name}/themes";
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2024-01-07 04:54:03 -07:00
|
|
|
install -Dt $out *.toml
|
2023-10-23 11:33:14 -06:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2024-04-28 10:39:20 -06:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
hardcodeZeroVersion = true;
|
2023-10-23 11:33:14 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Collection of Alacritty color schemes";
|
|
|
|
homepage = "https://alacritty.org/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.nicoo ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
})
|