summaryrefslogtreecommitdiff
path: root/custom/antigen.nix
blob: df69a96a7e3bab4099909d2338dd9c34031916c4 (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 = "01d21n49lik40q98jlp2fbfmy7xwwvlimdc2kgijwkfgxvchbgw0";
	};
	builder = builtins.toFile "builder.sh" ''
    source $stdenv/setup

    cp -r $src $out
  '';
}