mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
161e80e3fd
I don't know where this comes from (I accidentally did that as well once), but some derivations seem to use `buildPhases` rather than `phases` in their derivations. This kills all improper usages as the lack of a `phases` argument didn't break the build, so this can be safely removed.
26 lines
733 B
Nix
26 lines
733 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lambda-mod-zsh-theme-unstable-2017-10-08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "halfo";
|
|
repo = "lambda-mod-zsh-theme";
|
|
sha256 = "13yis07zyr192s0x2h04k5bm1yzbk5m3js83aa17xh5573w4b786";
|
|
rev = "61c373c8aa5556d51522290b82ad44e7166bced1";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/themes
|
|
cp lambda-mod.zsh-theme $out/share/themes
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A ZSH theme optimized for people who use Git & Unicode-compatible fonts and terminals";
|
|
homepage = https://github.com/halfo/lambda-mod-zsh-theme/;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
};
|
|
}
|