depot/third_party/nixpkgs/pkgs/development/ocaml-modules/cfstream/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

34 lines
757 B
Nix

{ 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 ];
strictDeps = true;
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;
};
}