2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchurl, buildDunePackage, cstruct }:
|
2015-01-23 08:15:08 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "hex";
|
|
|
|
version = "1.2.0";
|
2017-12-05 05:51:44 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
minimumOCamlVersion = "4.02";
|
2015-01-23 08:15:08 +00:00
|
|
|
|
2017-12-05 05:51:44 +00:00
|
|
|
src = fetchurl {
|
2018-11-05 10:21:46 +00:00
|
|
|
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-${version}.tbz";
|
2017-12-05 05:51:44 +00:00
|
|
|
sha256 = "17hqf7z5afp2z2c55fk5myxkm7cm74259rqm94hcxkqlpdaqhm8h";
|
2015-01-23 08:15:08 +00:00
|
|
|
};
|
|
|
|
|
2015-06-01 19:41:50 +01:00
|
|
|
propagatedBuildInputs = [ cstruct ];
|
2015-12-15 21:02:15 +00:00
|
|
|
doCheck = true;
|
2015-01-23 08:15:08 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|