1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/development/ocaml-modules/benchmark/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
731 B
Nix

{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, ocaml_pcre }:
let version = "1.4"; in
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-benchmark-${version}";
src = fetchzip {
url = "https://github.com/Chris00/ocaml-benchmark/releases/download/${version}/benchmark-${version}.tar.gz";
sha256 = "16wi8ld7c3mq77ylpgbnj8qqqqimyzwxs47v06vyrwpma5pab5xa";
};
buildInputs = [ ocaml findlib ocamlbuild ocaml_pcre ];
createFindlibDestdir = true;
meta = {
homepage = "http://ocaml-benchmark.forge.ocamlcore.org/";
platforms = ocaml.meta.platforms or [];
description = "Benchmark running times of code";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ volth ];
};
}