commit
535ac188d0
1 changed files with 10 additions and 10 deletions
|
@ -1,26 +1,26 @@
|
||||||
{ stdenv, fetchFromGitHub, ocamlPackages, opaline }:
|
{ stdenv, fetchurl, ocamlPackages, opaline }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dune-${version}";
|
name = "dune-${version}";
|
||||||
version = "1.2.1";
|
version = "1.3.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "ocaml";
|
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
|
||||||
repo = "dune";
|
sha256 = "15bzakiclipsyjgcfrj83xdpwwww3aaijyw01bn5cx96cmcqyjad";
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "14m5zg1b6d0y03c5qsmqmwiwz2h0iys02rlgn6kzm519ck679bkq";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with ocamlPackages; [ ocaml findlib ];
|
buildInputs = with ocamlPackages; [ ocaml findlib ];
|
||||||
|
|
||||||
|
buildFlags = "release";
|
||||||
|
|
||||||
dontAddPrefix = true;
|
dontAddPrefix = true;
|
||||||
|
|
||||||
installPhase = "${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR";
|
installPhase = "${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (src.meta) homepage;
|
homepage = "https://github.com/ocaml/dune";
|
||||||
description = "Fast, portable and opinionated build system";
|
description = "A composable build system";
|
||||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.mit;
|
||||||
inherit (ocamlPackages.ocaml.meta) platforms;
|
inherit (ocamlPackages.ocaml.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue