blob: f61d204c14e51d6cd94ca9188fa929bf7f191690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{
lib,
fetchurl,
buildDunePackage,
alcotest,
}:
buildDunePackage (finalAttrs: {
pname = "ohex";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/ocaml/opam-source-archives/raw/main/ohex-${finalAttrs.version}.tar.gz";
hash = "sha256-prV7rbo0sAx3S2t4YtjniJEVq43uLXK8ZMsqoMzn2Ow=";
};
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "Hexadecimal encoding and decoding";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
})
|