2021-06-05 17:59:56 +02:00
|
|
|
{ lib, buildDunePackage, fetchzip, cppo }:
|
2015-02-20 11:37:32 +01:00
|
|
|
|
2021-06-05 17:59:56 +02:00
|
|
|
buildDunePackage rec {
|
|
|
|
version = "1.1";
|
|
|
|
pname = "ocplib-endian";
|
2015-02-20 11:37:32 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/OCamlPro/ocplib-endian/archive/${version}.tar.gz";
|
2021-06-05 17:59:56 +02:00
|
|
|
sha256 = "sha256-zKsSkhlZBXSqPtw+/WN3pwo9plM9rDZfMbGVfosqb10=";
|
2015-02-20 11:37:32 +01:00
|
|
|
};
|
|
|
|
|
2021-06-05 17:59:56 +02:00
|
|
|
useDune2 = true;
|
2015-02-20 11:37:32 +01:00
|
|
|
|
2021-06-05 17:59:56 +02:00
|
|
|
buildInputs = [ cppo ];
|
2015-02-20 11:37:32 +01:00
|
|
|
|
2021-06-05 17:59:56 +02:00
|
|
|
meta = with lib; {
|
2015-02-20 11:37:32 +01:00
|
|
|
description = "Optimised functions to read and write int16/32/64";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/OCamlPro/ocplib-endian";
|
2021-06-05 17:59:56 +02:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2015-02-20 11:37:32 +01:00
|
|
|
};
|
|
|
|
}
|