]>
Commit | Line | Data |
---|---|---|
452c2314 IB |
1 | { infcloud_config ? ./infcloud_config.js, stdenv, fetchzip, ed }: |
2 | stdenv.mkDerivation rec { | |
3 | version = "0.13.1"; | |
4 | name = "InfCloud-${version}"; | |
5 | src = fetchzip { | |
6 | url = "https://www.inf-it.com/InfCloud_${version}.zip"; | |
7 | sha256 = "1fjhs0cj0b9fhf5ysfz281mknmmg1z551bas143sxfcqlpa5aiiq"; | |
8 | }; | |
9 | buildPhase = '' | |
10 | ./cache_update.sh | |
11 | rm config.js | |
12 | ''; | |
13 | installPhase = '' | |
14 | cp -a . $out | |
15 | ln -s ${infcloud_config} $out/config.js | |
16 | ''; | |
17 | buildInputs = [ ed ]; | |
18 | } |