blob: 0e88fe4306e4ee2e3d75d4e8cae7f7fbbc24c6b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ stdenv
, fetchgit
}:
let
in stdenv.mkDerivation {
name = "prosody-auth";
src = fetchgit {
url = "git://git.yggdrasil.li/prosody_auth";
rev = "803fda7486e358dc79fc26884b40f4d739559da2";
sha256 = "2355d69f3c5440ef1377344e8dd582214b2f5e832cf9a2ff906fc6bc862f1e79";
};
builder = builtins.toFile "builder.sh" ''
source $stdenv/setup
mkdir -p $out
cp -rv $src/mod_auth_custom $out
'';
}
|