nixpkgs/pkgs/development/ocaml-modules/hex/default.nix

24 lines
643 B
Nix
Raw Normal View History

{ stdenv, fetchurl, buildDunePackage, cstruct }:
buildDunePackage rec {
pname = "hex";
2019-02-10 06:44:58 -08:00
version = "1.3.0";
2017-12-04 21:51:44 -08:00
minimumOCamlVersion = "4.02";
2017-12-04 21:51:44 -08:00
src = fetchurl {
2019-02-10 06:44:58 -08:00
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-v${version}.tbz";
sha256 = "193567pn58df3b824vmfanncdfgf9cxzl7q3rq39zl9szvzhvkja";
};
2015-06-01 11:41:50 -07:00
propagatedBuildInputs = [ cstruct ];
2015-12-15 13:02:15 -08:00
doCheck = true;
meta = {
description = "Mininal OCaml library providing hexadecimal converters";
homepage = https://github.com/mirage/ocaml-hex;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}