Skip to content

Commit

Permalink
ocamlPackages.domain-name: 0.3.0 → 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Aug 23, 2022
1 parent f8594cd commit f930cab
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pkgs/development/ocaml-modules/domain-name/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
{ lib, buildDunePackage, fetchurl
{ lib, buildDunePackage, ocaml, fetchurl
, alcotest
, astring, fmt
}:

buildDunePackage rec {
pname = "domain-name";
version = "0.3.0";

useDune2 = true;
version = "0.4.0";

src = fetchurl {
url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-v${version}.tbz";
sha256 = "12kc9p2a2fi1ipc2hyhbzivxpph3npglxwdgvhd6v20rqqdyvnad";
url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-${version}.tbz";
sha256 = "sha256-pcBuIoRYlSAZc+gS/jAZJ00duBwKeHPabIAHxK0hCMU=";
};

minimumOCamlVersion = "4.03";
minimalOCamlVersion = "4.04";

checkInputs = [ alcotest ];

propagatedBuildInputs = [ astring fmt ];

doCheck = true;
doCheck = lib.versionAtLeast ocaml.version "4.05";

meta = {
homepage = "https://github.com/hannesm/domain-name";
Expand Down

0 comments on commit f930cab

Please sign in to comment.