From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- flakes/mypackages/pkgs/webapps/infcloud/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 flakes/mypackages/pkgs/webapps/infcloud/default.nix (limited to 'flakes/mypackages/pkgs/webapps/infcloud/default.nix') diff --git a/flakes/mypackages/pkgs/webapps/infcloud/default.nix b/flakes/mypackages/pkgs/webapps/infcloud/default.nix new file mode 100644 index 0000000..45354fa --- /dev/null +++ b/flakes/mypackages/pkgs/webapps/infcloud/default.nix @@ -0,0 +1,19 @@ +{ 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 ]; +} -- cgit v1.2.3