ocamlPackages.ocplib-endian: 1.0 -> 1.1

This commit is contained in:
superherointj 2021-06-05 12:59:56 -03:00 committed by Vincent Laporte
parent 58b1814672
commit cb43168919

View file

@ -1,24 +1,22 @@
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, cppo }:
{ lib, buildDunePackage, fetchzip, cppo }:
let version = "1.0"; in
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-ocplib-endian-${version}";
buildDunePackage rec {
version = "1.1";
pname = "ocplib-endian";
src = fetchzip {
url = "https://github.com/OCamlPro/ocplib-endian/archive/${version}.tar.gz";
sha256 = "0s1ld3kavz892b8awyxyg1mr98h2g61gy9ci5v6yb49bsii6wicw";
sha256 = "sha256-zKsSkhlZBXSqPtw+/WN3pwo9plM9rDZfMbGVfosqb10=";
};
buildInputs = [ ocaml findlib ocamlbuild cppo ];
useDune2 = true;
createFindlibDestdir = true;
buildInputs = [ cppo ];
meta = {
meta = with lib; {
description = "Optimised functions to read and write int16/32/64";
homepage = "https://github.com/OCamlPro/ocplib-endian";
license = lib.licenses.lgpl21;
platforms = ocaml.meta.platforms or [];
maintainers = with lib.maintainers; [ vbgl ];
license = licenses.lgpl21;
maintainers = with maintainers; [ vbgl ];
};
}