@@ -2,13 +2,13 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "biniou";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjambon";
|
||||
owner = "ocaml-community";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0mjpgwyfq2b2izjw0flmlpvdjgqpq8shs89hxj1np2r50csr8dcb";
|
||||
rev = version;
|
||||
sha256 = "0x2kiy809n1j0yf32l7hj102y628jp5jdrkbi3z7ld8jq04h1790";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ easy-format ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dtoa";
|
||||
version = "0.3.1";
|
||||
version = "0.3.2";
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "0rzysj07z2q6gk0yhjxnjnba01vmdb9x32wwna10qk3rrb8r2pnn";
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "0zkhn0rdq82g6gamsv6nkx6i44s8104nh6jg5xydazl9jl1704xn";
|
||||
};
|
||||
|
||||
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
|
||||
|
||||
17
pkgs/development/ocaml-modules/dune-configurator/default.nix
Normal file
17
pkgs/development/ocaml-modules/dune-configurator/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ lib, buildDunePackage, dune_2, dune-private-libs }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dune-configurator";
|
||||
|
||||
inherit (dune_2) src version;
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
propagatedBuildInputs = [ dune-private-libs ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helper library for gathering system configuration";
|
||||
maintainers = [ maintainers.marsam ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
15
pkgs/development/ocaml-modules/dune-private-libs/default.nix
Normal file
15
pkgs/development/ocaml-modules/dune-private-libs/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ lib, buildDunePackage, dune_2 }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dune-private-libs";
|
||||
|
||||
inherit (dune_2) src version;
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Private libraries of Dune";
|
||||
maintainers = [ maintainers.marsam ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_gen_rec";
|
||||
version = "1.0.0";
|
||||
version = "1.1.0";
|
||||
|
||||
minimumOCamlVersion = "4.01";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "0qy0wa3rd5yh1612jijadi1yddfslpsmmmf69phi2dhr3vmkhza7";
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "0fwi4bknq8h9zgpsarjvnzdm9bm8qlyyw0lz30pihg02aiiljqbh";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml-migrate-parsetree ];
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
let param =
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
then {
|
||||
version = "0.6.1";
|
||||
url = " https://github.com/Chris00/ocaml-rope/releases/download/0.6.1/rope-0.6.1.tbz";
|
||||
sha256 = "1zqh28jz1zjb0l354wi1046qpkwmk582ssz0gsqh6d44wpspdxk2";
|
||||
then rec {
|
||||
version = "0.6.2";
|
||||
url = "https://github.com/Chris00/ocaml-rope/releases/download/${version}/rope-${version}.tbz";
|
||||
sha256 = "15cvfa0s1vjx7gjd07d3fkznilishqf4z4h2q5f20wm9ysjh2h2i";
|
||||
buildInputs = [ dune ];
|
||||
extra = {
|
||||
buildPhase = "dune build -p rope";
|
||||
|
||||
@@ -1,26 +1,20 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, dune }:
|
||||
{ stdenv, fetchFromGitHub, buildDunePackage }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
buildDunePackage rec {
|
||||
pname = "stdint";
|
||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||
version = "0.5.1";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrenth";
|
||||
repo = "ocaml-stdint";
|
||||
rev = version;
|
||||
sha256 = "0z2z77m3clna9m9k0f8fd1400cdlglvy1kr893qs3907b3v0c057";
|
||||
sha256 = "19ccxs0vij81vyc9nqc9kbr154ralb9dgc2y2nr71a5xkx6xfn0y";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib dune ];
|
||||
|
||||
buildPhase = "dune build -p ${pname}";
|
||||
inherit (dune) installPhase;
|
||||
|
||||
meta = {
|
||||
description = "Various signed and unsigned integers for OCaml";
|
||||
homepage = "https://github.com/andrenth/ocaml-stdint";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.gebner ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "wtf8";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "1msg3vycd3k8qqj61sc23qks541cxpb97vrnrvrhjnqxsqnh6ygq";
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user