Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
787 B
Nix
34 lines
787 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "urxvt-theme-switch";
|
|
version = "unstable-2014-12-21";
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "felixr";
|
|
repo = "urxvt-theme-switch";
|
|
rev = "cfcbcc3dd5a5b09a3fec0f6a1fea95f4a36a48c4";
|
|
sha256 = "0x27m1vdqprn3lqpwgxvffill7prmaj6j9rhgvkvi13mzl5wmlli";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/urxvt/perl
|
|
sed -i -e "s|/usr/bin/env||" color-themes
|
|
cp color-themes $out/lib/urxvt/perl
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "urxvt plugin that allows to switch color themes during runtime";
|
|
homepage = "https://github.com/felixr/urxvt-theme-switch";
|
|
license = lib.licenses.cc-by-nc-30;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|