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

    cp -r $src $out
  '';
}