lol

Revert "Merge pull request #20090 from sternenseemann/master"

Reason: https://github.com/NixOS/nixpkgs/pull/20090#commitcomment-19686426

This reverts commit 9ffcb1b2503303bfdb4a8fc31c8e4160184eb74c, reversing
changes made to a6283c1126676d30de3abfb3ee8865505da0ed43.

+62 -396
-37
pkgs/applications/networking/instant-messengers/jackline/default.nix
··· 1 - {stdenv, fetchFromGitHub, ocamlPackages}: 2 - 3 - assert stdenv.lib.versionAtLeast ocamlPackages.ocaml.version "4.02.2"; 4 - 5 - stdenv.mkDerivation rec { 6 - version = "2016-10-30"; 7 - name = "jackline-${version}"; 8 - 9 - src = fetchFromGitHub { 10 - owner = "hannesm"; 11 - repo = "jackline"; 12 - rev = "8d829b03f2cdad6b13260ad293aeaa44075bd894"; 13 - sha256 = "1xsngldyracfb15jxa9h5qnpaywv6bn8gkg0hzccycjz1nfskl17"; 14 - }; 15 - 16 - buildInputs = with ocamlPackages; [ 17 - ocaml ocamlbuild findlib topkg ppx_sexp_conv 18 - erm_xmpp_0_3 tls nocrypto x509 ocaml_lwt otr astring 19 - ptime notty sexplib_p4 hex uutf opam 20 - ]; 21 - 22 - buildPhase = with ocamlPackages; '' 23 - ocaml -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib pkg/pkg.ml build \ 24 - --pinned true 25 - ''; 26 - 27 - installPhase = '' 28 - opam-installer --prefix=$out --script | sh 29 - ''; 30 - 31 - meta = with stdenv.lib; { 32 - homepage = https://github.com/hannesm/jackline; 33 - description = "Terminal-based XMPP client in pure OCaml."; 34 - license = licenses.bsd2; 35 - maintainers = with maintainers; [ sternenseemann ]; 36 - }; 37 - }
-43
pkgs/development/ocaml-modules/astring/default.nix
··· 1 - {stdenv, fetchurl, buildOcaml, ocaml, findlib, ocamlbuild, topkg, opam}: 2 - 3 - buildOcaml rec { 4 - version = "0.8.3"; 5 - name = "astring"; 6 - 7 - src = fetchurl { 8 - url = "http://erratique.ch/software/astring/releases/astring-${version}.tbz"; 9 - sha256 = "0ixjwc3plrljvj24za3l9gy0w30lsbggp8yh02lwrzw61ls4cri0"; 10 - }; 11 - 12 - unpackCmd = "tar -xf $curSrc"; 13 - 14 - buildInputs = [ ocaml findlib ocamlbuild topkg opam ]; 15 - 16 - buildPhase = '' 17 - ocaml -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/ pkg/pkg.ml build 18 - ''; 19 - 20 - installPhase = '' 21 - opam-installer --script --prefix=$out astring.install | sh 22 - ln -s $out/lib/astring $out/lib/ocaml/${ocaml.version}/site-lib/ 23 - ''; 24 - 25 - meta = { 26 - homepage = http://erratique.ch/software/ptime; 27 - description = "Alternative String module for OCaml."; 28 - longDescription = '' 29 - Astring exposes an alternative String module for OCaml. This module tries 30 - to balance minimality and expressiveness for basic, index-free, string 31 - processing and provides types and functions for substrings, string sets 32 - and string maps. 33 - 34 - Remaining compatible with the OCaml String module is a non-goal. 35 - The String module exposed by Astring has exception safe functions, removes 36 - deprecated and rarely used functions, alters some signatures and names, 37 - adds a few missing functions and fully exploits OCaml's newfound string 38 - immutability. 39 - ''; 40 - license = stdenv.lib.licenses.isc; 41 - maintainers = with stdenv.lib.maintainers; [ sternenseemann ]; 42 - }; 43 - }
+12 -32
pkgs/development/ocaml-modules/cstruct/default.nix
··· 1 - {stdenv, buildOcaml, fetchFromGitHub, writeText, 2 - ocaml, ocplib-endian, sexplib_p4, findlib, ounit, camlp4, 3 - async_p4 ? null, lwt ? null, ppx_tools ? null, 4 - withAsync ? true, withLwt ? true, withPpx ? true}: 5 - 6 - with stdenv.lib; 7 - assert withAsync -> async_p4 != null; 8 - assert withLwt -> lwt != null; 9 - assert withPpx -> ppx_tools != null; 1 + {stdenv, writeText, fetchurl, ocaml, ocplib-endian, sexplib_p4, findlib, 2 + async_p4 ? null, lwt ? null, camlp4}: 10 3 11 - buildOcaml rec { 12 - name = "cstruct"; 13 - version = "2.3.0"; 4 + assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01"; 14 5 15 - minimumSupportedOcamlVersion = "4.02"; 6 + stdenv.mkDerivation { 7 + name = "ocaml-cstruct-1.6.0"; 16 8 17 - src = fetchFromGitHub { 18 - owner = "mirage"; 19 - repo = "ocaml-cstruct"; 20 - rev = "v${version}"; 21 - sha256 = "19spsgkry41dhsbm6ij71kws90bqp7wiggc6lsqdl43xxvbgdmys"; 9 + src = fetchurl { 10 + url = https://github.com/mirage/ocaml-cstruct/archive/v1.6.0.tar.gz; 11 + sha256 = "0f90a1b7a03091cf22a3ccb11a0cce03b6500f064ad3766b5ed81418ac008ece"; 22 12 }; 23 13 24 - configureFlags = [ "--enable-tests" ] ++ 25 - optional withLwt [ "--enable-lwt" ] ++ 26 - optional withAsync [ "--enable-async" ] ++ 27 - optional withPpx ["--enable-ppx"]; 28 - configurePhase = "./configure --prefix $out $configureFlags"; 29 - 30 - buildInputs = [ ocaml findlib camlp4 ounit ]; 31 - propagatedBuildInputs = [ocplib-endian sexplib_p4 ] ++ 32 - optional withPpx ppx_tools ++ 33 - optional withAsync async_p4 ++ 34 - optional withLwt lwt; 35 - 36 - doCheck = true; 37 - checkTarget = "test"; 14 + configureFlags = stdenv.lib.strings.concatStringsSep " " ((if lwt != null then ["--enable-lwt"] else []) ++ 15 + (if async_p4 != null then ["--enable-async"] else [])); 16 + buildInputs = [ocaml findlib camlp4]; 17 + propagatedBuildInputs = [ocplib-endian sexplib_p4 lwt async_p4]; 38 18 39 19 createFindlibDestdir = true; 40 20 dontStrip = true;
-29
pkgs/development/ocaml-modules/erm_xmpp/0.3.nix
··· 1 - { stdenv, buildOcaml, fetchFromGitHub, fetchurl, ocaml, findlib, erm_xml, nocrypto, camlp4 }: 2 - 3 - buildOcaml rec { 4 - version = "0.3"; 5 - name = "erm_xmpp"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "hannesm"; 9 - repo = "xmpp"; 10 - rev = "eee18bd3dd343550169969c0b45548eafd51cfe1"; 11 - sha256 = "0hzs528lrx1ayalv6fh555pjn0b4l8xch1f72hd3b07g1xahdas5"; 12 - }; 13 - 14 - buildInputs = [ ocaml findlib camlp4 ]; 15 - propagatedBuildInputs = [ erm_xml nocrypto ]; 16 - 17 - configurePhase = "ocaml setup.ml -configure --prefix $out"; 18 - buildPhase = "ocaml setup.ml -build"; 19 - installPhase = "ocaml setup.ml -install"; 20 - 21 - createFindlibDestdir = true; 22 - 23 - meta = { 24 - homepage = https://github.com/hannesm/xmpp; 25 - description = "OCaml based XMPP implementation (fork)."; 26 - license = stdenv.lib.licenses.bsd3; 27 - maintainers = with stdenv.lib.maintainers; [ sternenseemann ]; 28 - }; 29 - }
+2 -2
pkgs/development/ocaml-modules/janestreet/ppx-sexp-conv.nix
··· 1 1 {stdenv, buildOcamlJane, 2 - ppx_core, ppx_tools, ppx_type_conv, sexplib_p4}: 2 + ppx_core, ppx_tools, ppx_type_conv, sexplib}: 3 3 4 4 buildOcamlJane rec { 5 5 name = "ppx_sexp_conv"; 6 6 hash = "1kgbmlc11w5jhbhmy5n0f734l44zwyry48342dm5qydi9sfzcgq2"; 7 - propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv sexplib_p4 ]; 7 + propagatedBuildInputs = [ ppx_core ppx_tools ppx_type_conv sexplib]; 8 8 9 9 meta = with stdenv.lib; { 10 10 description = "PPX syntax extension that generates code for converting OCaml types to and from s-expressions, as defined in the sexplib library";
+12 -21
pkgs/development/ocaml-modules/nocrypto/default.nix
··· 1 - { stdenv, buildOcaml, fetchFromGitHub, ocaml, findlib, cstruct, type_conv, zarith, ounit, ocaml_oasis, ppx_sexp_conv 2 - , lwt ? null 3 - , withLwt ? true}: 1 + { stdenv, fetchzip, ocaml, findlib, cstruct, type_conv, zarith, ounit }: 4 2 5 - with stdenv.lib; 6 - assert withLwt -> lwt != null; 3 + assert stdenv.lib.versionAtLeast ocaml.version "4.01"; 7 4 8 - buildOcaml rec { 9 - name = "nocrypto"; 10 - version = "0.5.3"; 5 + stdenv.mkDerivation rec { 6 + name = "ocaml-nocrypto-${version}"; 7 + version = "0.5.1"; 11 8 12 - minimumSupportedOcamlVersion = "4.02"; 13 - 14 - src = fetchFromGitHub { 15 - owner = "mirleft"; 16 - repo = "ocaml-nocrypto"; 17 - rev = "v${version}"; 18 - sha256 = "0m3yvqpgfffqp15mcl08b78cv8zw25rnp6z1pkj5aimz6xg3gqbl"; 9 + src = fetchzip { 10 + url = "https://github.com/mirleft/ocaml-nocrypto/archive/${version}.tar.gz"; 11 + sha256 = "15gffvixk12ghsfra9amfszd473c8h188zfj03ngvblbdm0d80m0"; 19 12 }; 20 13 21 - buildInputs = [ ocaml ocaml_oasis findlib type_conv ounit ppx_sexp_conv ]; 22 - propagatedBuildInputs = [ cstruct zarith ] ++ optional withLwt lwt; 14 + buildInputs = [ ocaml findlib type_conv ounit ]; 15 + propagatedBuildInputs = [ cstruct zarith ]; 23 16 24 - configureFlags = [ "--enable-tests" ] ++ optional withLwt ["--enable-lwt"]; 25 - 26 - configurePhase = "./configure --prefix $out $configureFlags"; 27 - 17 + configureFlags = "--enable-tests"; 28 18 doCheck = true; 29 19 checkTarget = "test"; 30 20 createFindlibDestdir = true; ··· 32 22 meta = { 33 23 homepage = https://github.com/mirleft/ocaml-nocrypto; 34 24 description = "Simplest possible crypto to support TLS"; 25 + platforms = ocaml.meta.platforms or []; 35 26 license = stdenv.lib.licenses.bsd2; 36 27 maintainers = with stdenv.lib.maintainers; [ vbgl ]; 37 28 };
-36
pkgs/development/ocaml-modules/notty/default.nix
··· 1 - { stdenv, buildOcaml, fetchFromGitHub, findlib 2 - , result, uucp, uuseg, uutf 3 - , withLwt ? true 4 - , lwt ? null }: 5 - 6 - with stdenv.lib; 7 - assert withLwt -> lwt != null; 8 - 9 - buildOcaml rec { 10 - version = "0.1.1"; 11 - name = "notty"; 12 - 13 - minimumSupportedOcamlVersion = "4.02"; 14 - 15 - src = fetchFromGitHub { 16 - owner = "pqwy"; 17 - repo = "notty"; 18 - rev = "v${version}"; 19 - sha256 = "0bw3bq8z2y1rhc20zn13s78sazywyzpg8nmyjch33p7ypxfglf01"; 20 - }; 21 - 22 - buildInputs = [ findlib ]; 23 - propagatedBuildInputs = [ result uucp uuseg uutf ] ++ 24 - optional withLwt lwt; 25 - 26 - configureFlags = [ "--enable-unix" ] ++ 27 - optional withLwt ["--enable-lwt"]; 28 - configurePhase = "./configure --prefix $out $configureFlags"; 29 - 30 - meta = with stdenv.lib; { 31 - homepage = https://github.com/pqwy/notty/tree/master; 32 - description = "Declarative terminal graphics for OCaml."; 33 - license = licenses.isc; 34 - maintainers = with maintainers; [ sternenseemann ]; 35 - }; 36 - }
-43
pkgs/development/ocaml-modules/otr/default.nix
··· 1 - {stdenv, buildOcaml, fetchFromGitHub, ocamlbuild, findlib, topkg, ocaml, opam, 2 - ppx_tools, ppx_sexp_conv, cstruct, sexplib_p4, result, nocrypto, astring}: 3 - 4 - let ocamlFlags = "-I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/"; in 5 - 6 - buildOcaml rec { 7 - name = "otr"; 8 - version = "0.3.3"; 9 - 10 - minimumSupportedOcamlVersion = "4.02.2"; 11 - 12 - src = fetchFromGitHub { 13 - owner = "hannesm"; 14 - repo = "ocaml-otr"; 15 - rev = "${version}"; 16 - sha256 = "07zzix5mfsasqpqdx811m0x04gp8mq1ayf4b64998k98027v01rr"; 17 - }; 18 - 19 - buildInputs = [ ocamlbuild findlib topkg ppx_tools ppx_sexp_conv opam ]; 20 - propagatedBuildInputs = [ cstruct sexplib_p4 result nocrypto astring ]; 21 - 22 - buildPhase = '' 23 - ocaml ${ocamlFlags} pkg/pkg.ml build \ 24 - --tests true 25 - ''; 26 - 27 - installPhase = '' 28 - opam-installer --prefix=$out --script | sh 29 - ln -s $out/lib/otr $out/lib/ocaml/${ocaml.version}/site-lib 30 - ''; 31 - 32 - doCheck = true; 33 - checkPhase = "ocaml ${ocamlFlags} pkg/pkg.ml test"; 34 - 35 - createFindlibDestdir = true; 36 - 37 - meta = with stdenv.lib; { 38 - homepage = https://github.com/hannesm/ocaml-otr; 39 - description = "Off-the-record (OTR) messaging protocol, purely in OCaml."; 40 - license = licenses.bsd2; 41 - maintainers = with maintainers; [ sternenseemann ]; 42 - }; 43 - }
-47
pkgs/development/ocaml-modules/ptime/default.nix
··· 1 - {stdenv, fetchurl, buildOcaml, ocaml, findlib, ocamlbuild, topkg, result, opam}: 2 - 3 - let ocaml-version = stdenv.lib.getVersion ocaml; in 4 - 5 - buildOcaml rec { 6 - version = "0.8.2"; 7 - name = "ptime"; 8 - 9 - src = fetchurl { 10 - url = "http://erratique.ch/software/ptime/releases/ptime-${version}.tbz"; 11 - sha256 = "1lihkhzskzwxskiarh4mvf7gbz5nfv25vmazbfz81m344i32a5pj"; 12 - }; 13 - 14 - unpackCmd = "tar -xf $curSrc"; 15 - 16 - buildInputs = [ ocaml findlib ocamlbuild topkg opam ]; 17 - 18 - propagatedBuildInputs = [ result ]; 19 - 20 - buildPhase = '' 21 - ocaml -I ${findlib}/lib/ocaml/${ocaml-version}/site-lib/ pkg/pkg.ml build --with-js_of_ocaml false 22 - ''; 23 - 24 - installPhase = '' 25 - opam-installer --script --prefix=$out ptime.install | sh 26 - ln -s $out/lib/ptime $out/lib/ocaml/${ocaml.version}/site-lib 27 - ''; 28 - 29 - meta = { 30 - homepage = http://erratique.ch/software/ptime; 31 - description = "POSIX time for OCaml."; 32 - longDescription = '' 33 - Ptime has platform independent POSIX time support in pure OCaml. 34 - It provides a type to represent a well-defined range of POSIX timestamps 35 - with picosecond precision, conversion with date-time values, conversion 36 - with RFC 3339 timestamps and pretty printing to a human-readable, 37 - locale-independent representation. 38 - 39 - The additional Ptime_clock library provides access to a system POSIX clock 40 - and to the system's current time zone offset. 41 - 42 - Ptime is not a calendar library. 43 - ''; 44 - license = stdenv.lib.licenses.isc; 45 - maintainers = with stdenv.lib.maintainers; [ sternenseemann ]; 46 - }; 47 - }
-41
pkgs/development/ocaml-modules/tls/default.nix
··· 1 - { stdenv, buildOcaml, fetchFromGitHub, findlib, ocamlbuild, ocaml_oasis 2 - , ppx_tools, ppx_sexp_conv, result, x509, nocrypto, cstruct 3 - , withLwt ? true 4 - , lwt ? null}: 5 - 6 - with stdenv.lib; 7 - assert withLwt -> lwt != null; 8 - 9 - buildOcaml rec { 10 - version = "0.7.1"; 11 - name = "tls"; 12 - 13 - minimunSupportedOcamlVersion = "4.02"; 14 - 15 - src = fetchFromGitHub { 16 - owner = "mirleft"; 17 - repo = "ocaml-tls"; 18 - rev = "${version}"; 19 - sha256 = "19q2hzxiasz9pzczgb63kikg0mc9mw98dfvch5falf2rincycj24"; 20 - }; 21 - 22 - buildInputs = [ ocamlbuild findlib ocaml_oasis ppx_sexp_conv ]; 23 - propagatedBuildInputs = [ cstruct nocrypto result x509 ] ++ 24 - optional withLwt lwt; 25 - 26 - configureFlags = [ "--disable-mirage" "--enable-tests" ] ++ 27 - optional withLwt ["--enable-lwt"]; 28 - 29 - configurePhase = "./configure --prefix $out $configureFlags"; 30 - 31 - doCheck = true; 32 - checkTarget = "test"; 33 - createFindlibDestdir = true; 34 - 35 - meta = with stdenv.lib; { 36 - homepage = https://github.com/mirleft/ocaml-tls; 37 - description = "TLS in pure OCaml."; 38 - license = licenses.bsd2; 39 - maintainers = with maintainers; [ sternenseemann ]; 40 - }; 41 - }
+11 -10
pkgs/development/ocaml-modules/uuseg/default.nix
··· 1 - { stdenv, buildOcaml, fetchurl, ocaml, findlib, ocamlbuild, opam, uucp, uutf, cmdliner }: 1 + { stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, uucp, uutf, cmdliner }: 2 2 3 3 let 4 + inherit (stdenv.lib) getVersion versionAtLeast; 5 + 4 6 pname = "uuseg"; 7 + version = "0.8.0"; 5 8 webpage = "http://erratique.ch/software/${pname}"; 6 9 in 7 10 8 - buildOcaml rec { 11 + assert versionAtLeast (getVersion ocaml) "4.01"; 9 12 10 - minimumSupportedOcamlVersion = "4.01"; 13 + stdenv.mkDerivation { 11 14 12 - name = pname; 13 - version = "0.9.0"; 15 + name = "ocaml-${pname}-${version}"; 14 16 15 17 src = fetchurl { 16 18 url = "${webpage}/releases/${pname}-${version}.tbz"; 17 19 sha256 = "00n4zi8dyw2yzi4nr2agcrr33b0q4dr9mgnkczipf4c0gm5cm50h"; 18 20 }; 19 21 20 - buildInputs = [ ocaml findlib ocamlbuild opam ]; 21 - propagatedBuildInputs = [ uucp uutf cmdliner ]; 22 + buildInputs = [ ocaml findlib ocamlbuild opam cmdliner ]; 23 + propagatedBuildInputs = [ uucp uutf ]; 22 24 23 25 createFindlibDestdir = true; 24 26 25 27 unpackCmd = "tar xjf $src"; 26 28 27 29 buildPhase = '' 28 - ocaml pkg/git.ml 29 30 ocaml pkg/build.ml \ 30 31 native=true native-dynlink=true \ 31 32 uutf=true cmdliner=true 32 33 ''; 33 34 34 35 installPhase = '' 35 - opam-installer --prefix $out --script | sh 36 - ln -s $out/lib/uuseg $out/lib/ocaml/${ocaml.version}/site-lib/ 36 + opam-installer --script --prefix=$out ${pname}.install | sh 37 + ln -s $out/lib/${pname} $out/lib/ocaml/${getVersion ocaml}/site-lib/${pname} 37 38 ''; 38 39 39 40 meta = with stdenv.lib; {
+10 -16
pkgs/development/ocaml-modules/uutf/default.nix
··· 1 - { stdenv, buildOcaml, fetchurl, ocaml, findlib, ocamlbuild, opam, cmdliner}: 1 + { stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }: 2 2 let 3 3 pname = "uutf"; 4 4 webpage = "http://erratique.ch/software/${pname}"; 5 5 in 6 6 7 - buildOcaml rec { 8 - name = pname; 9 - version = "0.9.4"; 7 + assert stdenv.lib.versionAtLeast ocaml.version "3.12"; 10 8 11 - minimumSupportedOcamlVersion = "3.12"; 9 + stdenv.mkDerivation rec { 10 + name = "ocaml-${pname}-${version}"; 11 + version = "0.9.3"; 12 12 13 13 src = fetchurl { 14 14 url = "${webpage}/releases/${pname}-${version}.tbz"; 15 - sha256 = "1f71fyawxal42x6g82539bv0ava2smlar6rmxxz1cyq3l0i6fw0k"; 15 + sha256 = "0xvq20knmq25902ijpbk91ax92bkymsqkbfklj1537hpn64lydhz"; 16 16 }; 17 17 18 18 buildInputs = [ ocaml findlib ocamlbuild opam ]; 19 - propagatedBuildInputs = [ cmdliner ]; 20 19 21 20 createFindlibDestdir = true; 22 21 23 22 unpackCmd = "tar xjf $src"; 24 23 25 - buildPhase = '' 26 - ocaml pkg/git.ml 27 - ocaml pkg/build.ml \ 28 - native=true \ 29 - native-dynlink=true \ 30 - cmdliner=true 31 - ''; 24 + buildPhase = "./pkg/build true"; 32 25 33 26 installPhase = '' 34 - opam-installer --prefix=$out --script | sh 35 - ln -s $out/lib/uutf $out/lib/ocaml/${ocaml.version}/site-lib/ 27 + opam-installer --script --prefix=$out ${pname}.install > install.sh 28 + sh install.sh 29 + ln -s $out/lib/${pname} $out/lib/ocaml/${ocaml.version}/site-lib/ 36 30 ''; 37 31 38 32 meta = with stdenv.lib; {
+13 -15
pkgs/development/ocaml-modules/x509/default.nix
··· 1 - {stdenv, buildOcaml, fetchFromGitHub, ocaml, findlib, asn1-combinators, nocrypto, ounit, ocaml_oasis, ppx_sexp_conv}: 1 + { stdenv, fetchzip, ocaml, findlib, asn1-combinators, nocrypto, ounit }: 2 2 3 - buildOcaml rec { 4 - name = "x509"; 5 - version = "0.5.3"; 3 + let version = "0.5.0"; in 6 4 7 - src = fetchFromGitHub { 8 - owner = "mirleft"; 9 - repo = "ocaml-x509"; 10 - rev = "${version}"; 11 - sha256 = "07cc3z6h87460z3f4vz8nlczw5jkc4vjhix413z9x6nral876rn7"; 5 + stdenv.mkDerivation { 6 + name = "ocaml-x509-${version}"; 7 + 8 + src = fetchzip { 9 + url = "https://github.com/mirleft/ocaml-x509/archive/${version}.tar.gz"; 10 + sha256 = "0i9618ph4i2yk5dvvhiqhm7wf3qmd6b795mxwff8jf856gb2gdyn"; 12 11 }; 13 12 14 - buildInputs = [ ocaml ocaml_oasis findlib ounit ppx_sexp_conv ]; 13 + buildInputs = [ ocaml findlib ounit ]; 15 14 propagatedBuildInputs = [ asn1-combinators nocrypto ]; 16 15 17 16 configureFlags = "--enable-tests"; 18 - configurePhase = "./configure --prefix $out $configureFlags"; 19 - 20 17 doCheck = true; 21 18 checkTarget = "test"; 22 19 createFindlibDestdir = true; 23 20 24 - meta = with stdenv.lib; { 21 + meta = { 25 22 homepage = https://github.com/mirleft/ocaml-x509; 26 23 description = "X509 (RFC5280) handling in OCaml"; 27 - license = licenses.bsd2; 28 - maintainers = with maintainers; [ vbgl ]; 24 + platforms = ocaml.meta.platforms or []; 25 + license = stdenv.lib.licenses.bsd2; 26 + maintainers = with stdenv.lib.maintainers; [ vbgl ]; 29 27 }; 30 28 }
-4
pkgs/top-level/all-packages.nix
··· 13257 13257 hyper = callPackage ../applications/misc/hyper { inherit (gnome2) GConf; }; 13258 13258 hyperterm = self.hyper; 13259 13259 13260 - jackline = callPackage ../applications/networking/instant-messengers/jackline { 13261 - ocamlPackages = ocaml-ng.ocamlPackages_4_02; 13262 - }; 13263 - 13264 13260 slack = callPackage ../applications/networking/instant-messengers/slack { }; 13265 13261 13266 13262 spectrwm = callPackage ../applications/window-managers/spectrwm { };
+2 -20
pkgs/top-level/ocaml-packages.nix
··· 22 22 23 23 asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { }; 24 24 25 - astring = callPackage ../development/ocaml-modules/astring { }; 26 - 27 25 async_extra_p4 = callPackage ../development/ocaml-modules/async_extra { }; 28 26 29 27 async_find = callPackage ../development/ocaml-modules/async_find { }; ··· 158 156 159 157 erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { }; 160 158 161 - erm_xmpp_0_3 = callPackage ../development/ocaml-modules/erm_xmpp/0.3.nix { }; 162 - 163 159 estring = callPackage ../development/ocaml-modules/estring { }; 164 160 165 161 ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { ··· 261 257 262 258 mlgmp = callPackage ../development/ocaml-modules/mlgmp { }; 263 259 264 - nocrypto = callPackage ../development/ocaml-modules/nocrypto { 265 - lwt = ocaml_lwt; 266 - }; 267 - 268 - notty = callPackage ../development/ocaml-modules/notty { 269 - lwt = ocaml_lwt; 270 - }; 260 + nocrypto = callPackage ../development/ocaml-modules/nocrypto { }; 271 261 272 262 ocaml_batteries = callPackage ../development/ocaml-modules/batteries { }; 273 263 ··· 345 335 346 336 otfm = callPackage ../development/ocaml-modules/otfm { }; 347 337 348 - otr = callPackage ../development/ocaml-modules/otr { }; 349 - 350 338 ounit = callPackage ../development/ocaml-modules/ounit { }; 351 339 352 340 piqi = callPackage ../development/ocaml-modules/piqi { }; 353 341 piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { }; 354 - 355 - ptime = callPackage ../development/ocaml-modules/ptime { }; 356 342 357 343 re2_p4 = callPackage ../development/ocaml-modules/re2 { }; 358 344 ··· 373 359 }; 374 360 375 361 textutils_p4 = callPackage ../development/ocaml-modules/textutils { }; 376 - 377 - tls = callPackage ../development/ocaml-modules/tls { 378 - lwt = ocaml_lwt; 379 - }; 380 362 381 363 type_conv_108_08_00 = callPackage ../development/ocaml-modules/type_conv/108.08.00.nix { }; 382 364 type_conv_109_60_01 = callPackage ../development/ocaml-modules/type_conv/109.60.01.nix { }; ··· 653 635 then { tools = pkgs.pkgsi686Linux.stdenv.cc; } 654 636 else {} 655 637 ); 656 - 638 + 657 639 glsurf = callPackage ../applications/science/math/glsurf { 658 640 libpng = pkgs.libpng12; 659 641 giflib = pkgs.giflib_4_1;