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
29
pkgs/development/ocaml-modules/functoria/default.nix
Normal file
29
pkgs/development/ocaml-modules/functoria/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchurl, buildDunePackage, alcotest, cmdliner
|
||||
, rresult, astring, fmt, ocamlgraph, logs, bos, fpath, ptime
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "functoria";
|
||||
version = "3.1.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "0bihxbq16zwsi7frk4b8wz8993mvy2ym3n6288jhv0n0gb7c2f7m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cmdliner rresult astring fmt ocamlgraph logs bos fpath ptime ];
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A DSL to organize functor applications";
|
||||
homepage = "https://github.com/mirage/functoria";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
17
pkgs/development/ocaml-modules/functoria/runtime.nix
Normal file
17
pkgs/development/ocaml-modules/functoria/runtime.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, buildDunePackage, functoria, cmdliner, fmt, alcotest }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "functoria-runtime";
|
||||
|
||||
inherit (functoria) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ cmdliner fmt ];
|
||||
checkInputs = [ alcotest functoria];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
inherit (functoria.meta) homepage license;
|
||||
description = "Runtime support library for functoria-generated code";
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue