mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
a834cc840f
Use new dune based build system. This no longer has a way to enable the non-minimal build. As it turns out, though, no package required that (and it was impossible to get a non-minimal extlib build from OPAM before anyways). The old expression needs to be retained for extlib 1.7.7 and just moved over.
25 lines
686 B
Nix
25 lines
686 B
Nix
{ buildDunePackage, lib, fetchurl, cppo }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "extlib";
|
|
version = "1.7.9";
|
|
|
|
minimalOCamlVersion = "4.02";
|
|
|
|
src = fetchurl {
|
|
url = "https://ygrek.org/p/release/ocaml-${pname}/${pname}-${version}.tar.gz";
|
|
sha512 = "2386ac69f037ea520835c0624d39ae9fbffe43a20b18e247de032232ed6f419d667b53d2314c6f56dc71d368bf0b6201a56c2f3f2a5bdfd933766c5a6cb98768";
|
|
};
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ygrek/ocaml-extlib";
|
|
description = "Enhancements to the OCaml Standard Library modules";
|
|
license = lib.licenses.lgpl21Only;
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
};
|
|
}
|