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

stdenv.mkDerivation rec {
  name="antigen";
	src = fetchgit {
    	inherit name;
		url = https://github.com/zsh-users/antigen.git;
		rev = "30098c1d9955b8548aa827588c0d2c9be077c6f2";
		sha256 = "0v0mispl4jnwxi1zwjiqi65ykz8bdw2hzzq3fw3hj7pv0rfsgcvw";
	};
	builder = builtins.toFile "builder.sh" ''
    source $stdenv/setup

    cp -r $src $out
  '';
}