2022-03-30 09:31:56 +00:00
|
|
|
{ lib, fetchzip, buildDunePackage, ocaml }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "nonstd";
|
|
|
|
version = "0.0.3";
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
minimalOCamlVersion = "4.02";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://bitbucket.org/smondet/${pname}/get/${pname}.${version}.tar.gz";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0ccjwcriwm8fv29ij1cnbc9win054kb6pfga3ygzdbjpjb778j46";
|
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.12";
|
|
|
|
postPatch = lib.optionalString useDune2 "dune upgrade";
|
2020-09-25 04:45:31 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://bitbucket.org/smondet/nonstd";
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Non-standard mini-library";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.alexfmpe ];
|
|
|
|
};
|
|
|
|
}
|