2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-05-15 05:36:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
rev = "cfcbcc3dd5a5b09a3fec0f6a1fea95f4a36a48c4";
|
|
|
|
name = "urxvt-theme-switch-2014-12-21_rev${builtins.substring 0 1 rev}";
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "felixr";
|
|
|
|
repo = "urxvt-theme-switch";
|
|
|
|
inherit rev;
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-21 17:47:42 +00:00
|
|
|
description = "urxvt plugin that allows to switch color themes during runtime";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/felixr/urxvt-theme-switch";
|
2016-05-15 05:36:44 +00:00
|
|
|
license = "CCBYNC";
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; unix;
|
2016-05-15 05:36:44 +00:00
|
|
|
};
|
|
|
|
}
|