push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
{
stdenv,
lib,
fetchFromGitHub,
ocaml,
findlib,
ocsigen-toolkit,
pgocaml_ppx,
safepass,
yojson,
cohttp-lwt-unix,
eliom,
resource-pooling,
ocsigen-ppx-rpc,
}:
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-ocsigen-start";
version = "7.1.0";
nativeBuildInputs = [
ocaml
findlib
eliom
];
buildInputs = [ ocsigen-ppx-rpc ];
propagatedBuildInputs = [
pgocaml_ppx
safepass
ocsigen-toolkit
yojson
resource-pooling
cohttp-lwt-unix
];
strictDeps = true;
patches = [
./templates-dir.patch
];
src = fetchFromGitHub {
owner = "ocsigen";
repo = "ocsigen-start";
rev = version;
hash = "sha256-2DFFceUI7BYgGKvJ1sZphLWt/Rusa5Y86yc94Mi/quo=";
};
preInstall = ''
mkdir -p $OCAMLFIND_DESTDIR
'';
meta = {
homepage = "http://ocsigen.org/ocsigen-start";
description = "Eliom application skeleton";
longDescription = ''
An Eliom application skeleton, ready to use to build your own application with users, (pre)registration, notifications, etc.
'';
license = lib.licenses.lgpl21Only;
inherit (ocaml.meta) platforms;
maintainers = [ lib.maintainers.gal_bolle ];
};
}

View File

@@ -0,0 +1,13 @@
diff --git a/scripts/install.sh b/scripts/install.sh
index f88ae11..d6aae70 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -11,9 +11,9 @@ fi
TPL_DIR=$1
TPL_NAME=$2
-DEST0=$DESTDIR/$(eliom-distillery -dir)
+DEST0=$out/eliom-distillery-templates
DEST=$DEST0/$TPL_NAME
mkdir -p $DEST0