depot/third_party/nixpkgs/pkgs/development/ocaml-modules/sosa/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

30 lines
691 B
Nix

{ lib, fetchFromGitHub, stdenv
, findlib, nonstd, ocaml, ocamlbuild
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-sosa-${version}";
version = "0.3.0";
src = fetchFromGitHub {
owner = "hammerlab";
repo = "sosa";
rev = "sosa.${version}";
sha256 = "053hdv6ww0q4mivajj4iyp7krfvgq8zajq9d8x4mia4lid7j0dyk";
};
buildInputs = [ nonstd ocaml ocamlbuild findlib ];
buildPhase = "make build";
createFindlibDestdir = true;
doCheck = true;
meta = with lib; {
homepage = http://www.hammerlab.org/docs/sosa/master/index.html;
description = "Sane OCaml String API";
license = licenses.isc;
maintainers = [ maintainers.alexfmpe ];
};
}