Loading pkgs/development/ocaml-modules/bstr/default.nix 0 → 100644 +24 −0 Original line number Diff line number Diff line { fetchurl, buildDunePackage, lib, }: buildDunePackage rec { pname = "bstr"; version = "0.0.2"; minimalOCamlVersion = "4.13"; src = fetchurl { url = "https://github.com/robur-coop/bstr/releases/download/v${version}/bstr-${version}.tbz"; hash = "sha256-/zvzCBzT014OesTmxGBDB98ZRU++YNDLUZ8uaDK3keM="; }; meta = { description = "A simple library for bigstrings"; homepage = "https://git.robur.coop/robur/bstr"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; }; } pkgs/development/ocaml-modules/git/paf.nix +5 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,11 @@ buildDunePackage { inherit (git) version src; postPatch = '' substituteInPlace src/git-paf/dune --replace-fail bigstringaf 'bigstringaf bstr' substituteInPlace src/git-paf/git_paf.ml --replace-fail Bigstringaf.t Bstr.t ''; minimalOCamlVersion = "4.08"; propagatedBuildInputs = [ Loading pkgs/development/ocaml-modules/h1/default.nix +6 −4 Original line number Diff line number Diff line Loading @@ -3,11 +3,12 @@ buildDunePackage, fetchurl, angstrom, bigstringaf, base64, bstr, faraday, httpun-types, alcotest, version ? "1.0.0", version ? "1.1.0", }: buildDunePackage { Loading @@ -17,12 +18,13 @@ buildDunePackage { src = fetchurl { url = "https://github.com/robur-coop/ocaml-h1/releases/download/v${version}/h1-${version}.tbz"; hash = "sha256-uFHRcNmfHiFmdMAMKiS5KilIwMylf/AoJCfxllrIvRM="; hash = "sha256-LTBn7TgBY5IBSfvpFJ1b2mMLT0XjwQvnk77qBqB8bTw="; }; propagatedBuildInputs = [ angstrom bigstringaf base64 bstr faraday httpun-types ]; Loading pkgs/top-level/ocaml-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -145,6 +145,8 @@ let brr = callPackage ../development/ocaml-modules/brr { }; bstr = callPackage ../development/ocaml-modules/bstr { }; bwd = callPackage ../development/ocaml-modules/bwd { }; bytesrw = callPackage ../development/ocaml-modules/bytesrw { }; Loading Loading
pkgs/development/ocaml-modules/bstr/default.nix 0 → 100644 +24 −0 Original line number Diff line number Diff line { fetchurl, buildDunePackage, lib, }: buildDunePackage rec { pname = "bstr"; version = "0.0.2"; minimalOCamlVersion = "4.13"; src = fetchurl { url = "https://github.com/robur-coop/bstr/releases/download/v${version}/bstr-${version}.tbz"; hash = "sha256-/zvzCBzT014OesTmxGBDB98ZRU++YNDLUZ8uaDK3keM="; }; meta = { description = "A simple library for bigstrings"; homepage = "https://git.robur.coop/robur/bstr"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; }; }
pkgs/development/ocaml-modules/git/paf.nix +5 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,11 @@ buildDunePackage { inherit (git) version src; postPatch = '' substituteInPlace src/git-paf/dune --replace-fail bigstringaf 'bigstringaf bstr' substituteInPlace src/git-paf/git_paf.ml --replace-fail Bigstringaf.t Bstr.t ''; minimalOCamlVersion = "4.08"; propagatedBuildInputs = [ Loading
pkgs/development/ocaml-modules/h1/default.nix +6 −4 Original line number Diff line number Diff line Loading @@ -3,11 +3,12 @@ buildDunePackage, fetchurl, angstrom, bigstringaf, base64, bstr, faraday, httpun-types, alcotest, version ? "1.0.0", version ? "1.1.0", }: buildDunePackage { Loading @@ -17,12 +18,13 @@ buildDunePackage { src = fetchurl { url = "https://github.com/robur-coop/ocaml-h1/releases/download/v${version}/h1-${version}.tbz"; hash = "sha256-uFHRcNmfHiFmdMAMKiS5KilIwMylf/AoJCfxllrIvRM="; hash = "sha256-LTBn7TgBY5IBSfvpFJ1b2mMLT0XjwQvnk77qBqB8bTw="; }; propagatedBuildInputs = [ angstrom bigstringaf base64 bstr faraday httpun-types ]; Loading
pkgs/top-level/ocaml-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -145,6 +145,8 @@ let brr = callPackage ../development/ocaml-modules/brr { }; bstr = callPackage ../development/ocaml-modules/bstr { }; bwd = callPackage ../development/ocaml-modules/bwd { }; bytesrw = callPackage ../development/ocaml-modules/bytesrw { }; Loading