mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
cc54b1b8ac
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ocaml4.06.1-bos/versions
28 lines
770 B
Nix
28 lines
770 B
Nix
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg
|
|
, astring, fmt, fpath, logs, rresult
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ocaml${ocaml.version}-bos-${version}";
|
|
version = "0.2.0";
|
|
src = fetchurl {
|
|
url = "http://erratique.ch/software/bos/releases/bos-${version}.tbz";
|
|
sha256 = "1s10iqx8rgnxr5n93lf4blwirjf8nlm272yg5sipr7lsr35v49wc";
|
|
};
|
|
|
|
unpackCmd = "tar xjf $src";
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg ];
|
|
propagatedBuildInputs = [ astring fmt fpath logs rresult ];
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
meta = {
|
|
description = "Basic OS interaction for OCaml";
|
|
homepage = http://erratique.ch/software/bos;
|
|
license = stdenv.lib.licenses.isc;
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
inherit (ocaml.meta) platforms;
|
|
};
|
|
}
|