mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
dynamic-colors: 0.2.1 -> 0.2.2
This commit is contained in:
parent
4e9e1bc7ba
commit
5bb5ce050b
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dynamic-colors-${version}";
|
||||
version = "0.2.1";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "peterhoeg";
|
||||
repo = "dynamic-colors";
|
||||
rev = "v${version}";
|
||||
sha256 = "061lh4qjk4671hwzmj55n3gy5hsi4p3hb30hj5bg3s6glcsbjpr5";
|
||||
owner = "peterhoeg";
|
||||
repo = "dynamic-colors";
|
||||
rev = "v${version}";
|
||||
sha256 = "1f1h3sywwlr5qc35pg7vvgk0f90n0vmxva4jxg4m2p63b4b91n7f";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
@ -17,24 +17,24 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p \
|
||||
$out/bin \
|
||||
$out/share/colorschemes \
|
||||
$out/share/dynamic-colors/colorschemes \
|
||||
$out/share/bash-completion/completions \
|
||||
$out/share/zsh/site-packages
|
||||
|
||||
install -m755 bin/dynamic-colors $out/bin/
|
||||
install -m644 completions/dynamic-colors.bash $out/share/bash-completion/completions/dynamic-colors
|
||||
install -m644 completions/dynamic-colors.zsh $out/share/zsh/site-packages/_dynamic-colors
|
||||
install -m644 colorschemes/* -t $out/share/colorschemes
|
||||
install -m644 colorschemes/* -t $out/share/dynamic-colors/colorschemes
|
||||
|
||||
sed -e "s|/usr/share/dynamic-colors|$out/share|g" \
|
||||
-i $out/bin/dynamic-colors
|
||||
substituteInPlace $out/bin/dynamic-colors \
|
||||
--replace /usr/share/dynamic-colors $out/share/dynamic-colors
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/peterhoeg/dynamic-colors;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
meta = with stdenv.lib; {
|
||||
description = "Change terminal colors on the fly";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.peterhoeg ];
|
||||
homepage = https://github.com/peterhoeg/dynamic-colors;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user