841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
22 lines
571 B
Nix
22 lines
571 B
Nix
{ lib, buildDunePackage, fetchzip, cppo }:
|
|
|
|
buildDunePackage rec {
|
|
version = "1.1";
|
|
pname = "ocplib-endian";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/OCamlPro/ocplib-endian/archive/${version}.tar.gz";
|
|
sha256 = "sha256-zKsSkhlZBXSqPtw+/WN3pwo9plM9rDZfMbGVfosqb10=";
|
|
};
|
|
|
|
useDune2 = true;
|
|
|
|
buildInputs = [ cppo ];
|
|
|
|
meta = with lib; {
|
|
description = "Optimised functions to read and write int16/32/64";
|
|
homepage = "https://github.com/OCamlPro/ocplib-endian";
|
|
license = licenses.lgpl21;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|