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 buildDunePackage rec {
version = "1.1";
stdenv.mkDerivation { pname = "ocplib-endian";
name = "ocaml${ocaml.version}-ocplib-endian-${version}";
src = fetchzip { src = fetchzip {
url = "https://github.com/OCamlPro/ocplib-endian/archive/${version}.tar.gz"; 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"; description = "Optimised functions to read and write int16/32/64";
homepage = "https://github.com/OCamlPro/ocplib-endian"; homepage = "https://github.com/OCamlPro/ocplib-endian";
license = lib.licenses.lgpl21; license = licenses.lgpl21;
platforms = ocaml.meta.platforms or []; maintainers = with maintainers; [ vbgl ];
maintainers = with lib.maintainers; [ vbgl ];
}; };
} }