1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/ocaml-modules/hex/default.nix

26 lines
677 B
Nix

{ stdenv, fetchurl, buildDunePackage, cstruct }:
buildDunePackage rec {
pname = "hex";
version = "1.2.0";
minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-${version}.tbz";
sha256 = "17hqf7z5afp2z2c55fk5myxkm7cm74259rqm94hcxkqlpdaqhm8h";
};
unpackCmd = "tar -xjf $curSrc";
propagatedBuildInputs = [ cstruct ];
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 ];
};
}