nixpkgs/pkgs/development/tools/ocaml/dune/default.nix
R. RyanTM 569aff03ab dune: 1.9.1 -> 1.9.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dune/versions
2019-05-04 22:54:09 -07:00

31 lines
775 B
Nix

{ stdenv, fetchurl, ocaml, findlib, opaline }:
stdenv.mkDerivation rec {
name = "dune-${version}";
version = "1.9.2";
src = fetchurl {
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
sha256 = "0l27d13wh3i1450kgxnhr6r977sgby1dqwsfc8cqd9mqic1mr9f2";
};
buildInputs = [ ocaml findlib ];
buildFlags = "release";
dontAddPrefix = true;
installPhase = ''
runHook preInstall
${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
runHook postInstall
'';
meta = {
homepage = https://github.com/ocaml/dune;
description = "A composable build system";
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.mit;
inherit (ocaml.meta) platforms;
};
}