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
10
pkgs/development/tools/ocaml/js_of_ocaml/Makefile.conf.diff
Normal file
10
pkgs/development/tools/ocaml/js_of_ocaml/Makefile.conf.diff
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- old/Makefile.conf 2014-05-19 16:53:09.263564921 +0200
|
||||
+++ new/Makefile.conf 2014-05-19 16:53:42.213152994 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
# Where binaries are installed:
|
||||
-BINDIR := `dirname \`which ocamlc\``
|
||||
+BINDIR := $(out)/bin
|
||||
|
||||
####
|
||||
|
||||
21
pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix
Normal file
21
pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ buildDunePackage, fetchFromGitHub, js_of_ocaml-compiler
|
||||
, camlp4, ocsigen_deriving
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "3.2.1";
|
||||
pname = "js_of_ocaml-camlp4";
|
||||
|
||||
useDune2 = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = "js_of_ocaml";
|
||||
rev = version;
|
||||
sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik";
|
||||
};
|
||||
|
||||
buildInputs = [ camlp4 ocsigen_deriving ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
29
pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
Normal file
29
pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, cmdliner, yojson, ppxlib
|
||||
, menhir, menhirLib
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "js_of_ocaml-compiler";
|
||||
version = "4.0.0";
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
|
||||
sha256 = "sha256:0pj9jjrmi0xxrzmygv4b5whsibw1jxy3wgibmws85x5jwlczh0nz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ menhir ];
|
||||
buildInputs = [ cmdliner ppxlib ];
|
||||
|
||||
configurePlatforms = [];
|
||||
propagatedBuildInputs = [ menhirLib yojson ];
|
||||
|
||||
meta = {
|
||||
description = "Compiler from OCaml bytecode to Javascript";
|
||||
homepage = "https://ocsigen.org/js_of_ocaml/";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
mainProgram = "js_of_ocaml";
|
||||
};
|
||||
}
|
||||
15
pkgs/development/tools/ocaml/js_of_ocaml/default.nix
Normal file
15
pkgs/development/tools/ocaml/js_of_ocaml/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ buildDunePackage, js_of_ocaml-compiler
|
||||
, ppxlib, uchar
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "js_of_ocaml";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src useDune2;
|
||||
|
||||
buildInputs = [ ppxlib ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
15
pkgs/development/tools/ocaml/js_of_ocaml/lwt.nix
Normal file
15
pkgs/development/tools/ocaml/js_of_ocaml/lwt.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ buildDunePackage, js_of_ocaml-compiler, js_of_ocaml-ppx
|
||||
, js_of_ocaml, ocaml_lwt, lwt_log
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "js_of_ocaml-lwt";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src useDune2;
|
||||
|
||||
buildInputs = [ js_of_ocaml-ppx ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml ocaml_lwt lwt_log ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
26
pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
Normal file
26
pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildDunePackage, fetchFromGitHub
|
||||
, ocamlbuild
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "js_of_ocaml-ocamlbuild";
|
||||
version = "4.0.0";
|
||||
|
||||
minimalOCamlVersion = "4.02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = pname;
|
||||
rev = "852302c8f35b946e2ec275c529a79e46d8749be6";
|
||||
sha256 = "sha256:03ayvakvbh4wi4dwcgd7r9y8ka8cv3d59hb81yk2dxyd94bln145";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ocamlbuild ];
|
||||
|
||||
meta = {
|
||||
description = "An ocamlbuild plugin to compile to JavaScript";
|
||||
license = lib.licenses.lgpl2Only;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
};
|
||||
}
|
||||
15
pkgs/development/tools/ocaml/js_of_ocaml/ppx.nix
Normal file
15
pkgs/development/tools/ocaml/js_of_ocaml/ppx.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ buildDunePackage, js_of_ocaml-compiler
|
||||
, ppxlib
|
||||
, js_of_ocaml
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "js_of_ocaml-ppx";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src useDune2;
|
||||
|
||||
buildInputs = [ js_of_ocaml ];
|
||||
propagatedBuildInputs = [ ppxlib ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
{ buildDunePackage, js_of_ocaml-compiler
|
||||
, js_of_ocaml, ppxlib
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "js_of_ocaml-ppx_deriving_json";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml ppxlib ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
16
pkgs/development/tools/ocaml/js_of_ocaml/tyxml.nix
Normal file
16
pkgs/development/tools/ocaml/js_of_ocaml/tyxml.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ buildDunePackage, js_of_ocaml-compiler
|
||||
, js_of_ocaml-ppx
|
||||
, js_of_ocaml, reactivedata, tyxml
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "js_of_ocaml-tyxml";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src useDune2;
|
||||
|
||||
buildInputs = [ js_of_ocaml-ppx ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml reactivedata tyxml ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue