Skip to content

Commit

Permalink
Merge pull request #47436 from vbgl/dune-1.3.0
Browse files Browse the repository at this point in the history
dune: 1.2.1 -> 1.3.0
  • Loading branch information
srhb committed Sep 28, 2018
2 parents c1a66a4 + d4ba6c0 commit 535ac18
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkgs/development/tools/ocaml/dune/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{ stdenv, fetchFromGitHub, ocamlPackages, opaline }:
{ stdenv, fetchurl, ocamlPackages, opaline }:

stdenv.mkDerivation rec {
name = "dune-${version}";
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml";
repo = "dune";
rev = "${version}";
sha256 = "14m5zg1b6d0y03c5qsmqmwiwz2h0iys02rlgn6kzm519ck679bkq";
version = "1.3.0";
src = fetchurl {
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
sha256 = "15bzakiclipsyjgcfrj83xdpwwww3aaijyw01bn5cx96cmcqyjad";
};

buildInputs = with ocamlPackages; [ ocaml findlib ];

buildFlags = "release";

dontAddPrefix = true;

installPhase = "${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR";

meta = {
inherit (src.meta) homepage;
description = "Fast, portable and opinionated build system";
homepage = "https://github.com/ocaml/dune";
description = "A composable build system";
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.asl20;
license = stdenv.lib.licenses.mit;
inherit (ocamlPackages.ocaml.meta) platforms;
};
}

0 comments on commit 535ac18

Please sign in to comment.