mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 15:11:30 +00:00
29 lines
551 B
Nix
29 lines
551 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
ocaml,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
version = "0.1";
|
|
pname = "ocaml${ocaml.version}-seq";
|
|
|
|
meta = {
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
homepage = "https://github.com/c-cube/seq";
|
|
description = "Dummy backward-compatibility package for iterators";
|
|
inherit (ocaml.meta) platforms;
|
|
};
|
|
|
|
src = ./src-base;
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/seq
|
|
cp META $out/lib/ocaml/${ocaml.version}/site-lib/seq
|
|
'';
|
|
|
|
}
|