ocamlPackages.stdcompat: 18 → 19

https://github.com/thierry-martinez/stdcompat/releases/tag/v19
This commit is contained in:
Jan Tojnar 2022-10-22 10:28:41 +02:00 committed by Vincent Laporte
parent e89623239d
commit beaf7262e6

View file

@ -1,29 +1,25 @@
{ stdenv, lib, fetchurl { buildDunePackage
, ocaml, findlib , lib
, fetchurl
}: }:
stdenv.mkDerivation rec { buildDunePackage rec {
pname = "ocaml${ocaml.version}-stdcompat"; pname = "stdcompat";
version = "18"; version = "19";
src = fetchurl { src = fetchurl {
url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz"; url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz";
sha256 = "sha256:01y67rndjlzfp5zq0gbqpg9skqq2hfbvhbq9lfhhk5xidr98sfj8"; sha256 = "sha256-DKQGd4nnIN6SPls6hcA/2Jvc7ivYNpeMU6rYsVc1ClU=";
}; };
nativeBuildInputs = [ ocaml findlib ];
strictDeps = true; strictDeps = true;
# build fails otherwise # Otherwise ./configure script will run and create files conflicting with dune.
enableParallelBuilding = false; dontConfigure = true;
configureFlags = [ "--libdir=$(OCAMLFIND_DESTDIR)" ];
meta = { meta = {
homepage = "https://github.com/thierry-martinez/stdcompat"; homepage = "https://github.com/thierry-martinez/stdcompat";
license = lib.licenses.bsd2; license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
}; };
} }