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