summaryrefslogtreecommitdiff
path: root/custom/antigen.nix
blob: 2bcd721402ad0996e3471bfe3876baa15328920e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv
, fetchFromGitHub
}:

stdenv.mkDerivation rec {
  name="antigen";
  src = fetchFromGitHub {
    owner = "zsh-users";
    repo = "antigen";
    rev = "1359b9966689e5afb666c2c31f5ca177006ce710";
    sha256 = "13b4a6239p5xsrqmg43bw3z5y7nz25awzclgyb697pqpf139drc9";
  };
  builder = builtins.toFile "builder.sh" ''
    source $stdenv/setup

    cp -r $src $out
  '';
}