ocamlPackages.cfstream: init at 1.3.0

This commit is contained in:
Ben Darwin 2019-11-25 10:53:35 -05:00
parent 47e5b157a2
commit 6b8de994a1
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, buildDunePackage, fetchFromGitHub, m4, core_kernel, ounit }:
buildDunePackage rec {
pname = "cfstream";
version = "1.3.0";
minimumOCamlVersion = "4.04.1";
src = fetchFromGitHub {
owner = "biocaml";
repo = pname;
rev = version;
sha256 = "1bpzpci0cx6r3sdk183mm603wgzvvj46nlx0lpx44108anxcxbak";
};
patches = [ ./git_commit.patch ];
buildInputs = [ m4 ];
checkInputs = [ ounit ];
propagatedBuildInputs = [ core_kernel ];
doCheck = true;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Simple Core-inspired wrapper for standard library Stream module";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl21;
};
}

View file

@ -0,0 +1,13 @@
diff --git a/lib/jbuild b/lib/jbuild
index fcc5a39..d72d50c 100644
--- a/lib/jbuild
+++ b/lib/jbuild
@@ -10,7 +10,7 @@
(rule (
(targets (GIT_COMMIT))
(deps (../bin/git_commit.sh))
- (action (with-stdout-to ${@} (run ${<})))
+ (action (with-stdout-to ${@} (run echo "None")))
))
(rule (

View file

@ -138,6 +138,8 @@ let
cairo2 = callPackage ../development/ocaml-modules/cairo2 { };
cfstream = callPackage ../development/ocaml-modules/cfstream { };
charInfo_width = callPackage ../development/ocaml-modules/charInfo_width { };
checkseum = callPackage ../development/ocaml-modules/checkseum { };