mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
ocamlPackages.domain-name: init at 0.3.0
This commit is contained in:
parent
4b8755a43c
commit
d33df05f50
29
pkgs/development/ocaml-modules/domain-name/default.nix
Normal file
29
pkgs/development/ocaml-modules/domain-name/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, buildDunePackage, fetchurl
|
||||
, alcotest
|
||||
, astring, fmt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "domain-name";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-v${version}.tbz";
|
||||
sha256 = "12kc9p2a2fi1ipc2hyhbzivxpph3npglxwdgvhd6v20rqqdyvnad";
|
||||
};
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
buildInputs = [ alcotest ];
|
||||
|
||||
propagatedBuildInputs = [ astring fmt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/hannesm/domain-name";
|
||||
description = "RFC 1035 Internet domain names";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
@ -215,6 +215,8 @@ let
|
||||
|
||||
dolog = callPackage ../development/ocaml-modules/dolog { };
|
||||
|
||||
domain-name = callPackage ../development/ocaml-modules/domain-name { };
|
||||
|
||||
dtoa = callPackage ../development/ocaml-modules/dtoa { };
|
||||
|
||||
dune = callPackage ../development/tools/ocaml/dune { };
|
||||
|
Loading…
Reference in New Issue
Block a user