1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/ocaml-modules/ocplib-endian/default.nix
sternenseemann 4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00

25 lines
706 B
Nix

{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, cppo }:
let version = "1.0"; in
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-ocplib-endian-${version}";
src = fetchzip {
url = "https://github.com/OCamlPro/ocplib-endian/archive/${version}.tar.gz";
sha256 = "0s1ld3kavz892b8awyxyg1mr98h2g61gy9ci5v6yb49bsii6wicw";
};
buildInputs = [ ocaml findlib ocamlbuild cppo ];
createFindlibDestdir = true;
meta = {
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 ];
};
}