aboutsummaryrefslogblamecommitdiff
path: root/pkgs/webapps/infcloud/default.nix
blob: 45354fa5146afc95d685bf9900accae9da3110a3 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                 
                        


                                                           
                                                                    

                 
                   








                                           
{ infcloud_config ? ./infcloud_config.js, stdenv, fetchzip, ed }:
stdenv.mkDerivation rec {
  version = "0.13.2rc1";
  name = "InfCloud-${version}";
  src = fetchzip {
    url = "https://www.inf-it.com/InfCloud_${version}.zip";
    sha256 = "1qgw6l7ccfkyzcw9dxcjwhxw9q27c0x9w584amc579mmrn9ppz3n";
  };
  buildPhase = ''
    patchShebangs .
    ./cache_update.sh
    rm config.js
    '';
  installPhase = ''
    cp -a . $out
    ln -s ${infcloud_config} $out/config.js
    '';
  buildInputs = [ ed ];
}