pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / ocaml-modules / ohex / default.nix
blob49bf6005c6860ebad70ed3cbcbaae5cad4ae2eea
2   lib,
3   fetchurl,
4   buildDunePackage,
5   alcotest,
6 }:
8 buildDunePackage rec {
9   pname = "ohex";
10   version = "0.2.0";
12   src = fetchurl {
13     url = "https://github.com/ocaml/opam-source-archives/raw/main/ohex-${version}.tar.gz";
14     hash = "sha256-prV7rbo0sAx3S2t4YtjniJEVq43uLXK8ZMsqoMzn2Ow=";
15   };
17   doCheck = true;
18   checkInputs = [ alcotest ];
20   meta = {
21     description = "Hexadecimal encoding and decoding";
22     license = lib.licenses.bsd2;
23     maintainers = [ lib.maintainers.vbgl ];
24   };