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
35
pkgs/development/ocaml-modules/cfstream/default.nix
Normal file
35
pkgs/development/ocaml-modules/cfstream/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, buildDunePackage, fetchFromGitHub, m4, core_kernel, ounit }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "cfstream";
|
||||
version = "1.3.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.04.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "biocaml";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0qnxfp6y294gjsccx7ksvwn9x5q20hi8sg24rjypzsdkmlphgdnd";
|
||||
};
|
||||
|
||||
patches = [ ./git_commit.patch ];
|
||||
|
||||
# This currently fails with dune
|
||||
strictDeps = false;
|
||||
|
||||
nativeBuildInputs = [ m4 ];
|
||||
checkInputs = [ ounit ];
|
||||
propagatedBuildInputs = [ core_kernel ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Simple Core-inspired wrapper for standard library Stream module";
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
license = licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
13
pkgs/development/ocaml-modules/cfstream/git_commit.patch
Normal file
13
pkgs/development/ocaml-modules/cfstream/git_commit.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/lib/dune b/lib/dune
|
||||
index 2266b87..344c704 100644
|
||||
--- a/lib/dune
|
||||
+++ b/lib/dune
|
||||
@@ -8,7 +8,7 @@
|
||||
(rule
|
||||
(targets GIT_COMMIT)
|
||||
(deps (:x ../bin/git_commit.sh))
|
||||
- (action (with-stdout-to %{targets} (run %{x})))
|
||||
+ (action (with-stdout-to %{targets} (run echo None)))
|
||||
)
|
||||
|
||||
(rule
|
||||
Loading…
Add table
Add a link
Reference in a new issue