mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
30 lines
786 B
Nix
30 lines
786 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
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 = "CCBYNC";
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|