mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
25 lines
674 B
Nix
25 lines
674 B
Nix
{ stdenv, fetchzip, ocaml, findlib, cppo }:
|
|
|
|
let version = "0.8"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-ocplib-endian-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/OCamlPro/ocplib-endian/archive/${version}.tar.gz";
|
|
sha256 = "12xjvzw245mj4s02dgi4k2sx5gam7wxi4mbxmz6k18zg64n48yjd";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib cppo ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
description = "Optimised functions to read and write int16/32/64";
|
|
homepage = https://github.com/OCamlPro/ocplib-endian;
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|