uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/development/ocaml-modules/ocsigen-start/default.nix
Normal file
42
pkgs/development/ocaml-modules/ocsigen-start/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocsigen-toolkit, pgocaml_ppx, safepass, yojson
|
||||
, cohttp-lwt-unix, eliom
|
||||
, resource-pooling
|
||||
, ocamlnet
|
||||
, ocsigen-ppx-rpc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-ocsigen-start";
|
||||
version = "6.0.1";
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib eliom ];
|
||||
buildInputs = [ ocsigen-ppx-rpc ];
|
||||
propagatedBuildInputs = [ pgocaml_ppx safepass ocsigen-toolkit yojson resource-pooling cohttp-lwt-unix ocamlnet ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
patches = [ ./templates-dir.patch ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = "ocsigen-start";
|
||||
rev = version;
|
||||
sha256 = "sha256:097bjaxvb1canilmqr8ay3ihig2msq7z8mi0g0rnbciikj1jsrym";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue