mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 20:02:14 +03:00
31 lines
691 B
Nix
31 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 ];
|
|
};
|
|
}
|