{ stdenv
, fetchgit
}:

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

    cp -r $src $out
  '';
}