9 lib.throwIfNot (lib.versionAtLeast ocaml.version "4.07")
10 "linksem is not available for OCaml ${ocaml.version}"
12 stdenv.mkDerivation rec {
13 pname = "ocaml${ocaml.version}-linksem";
16 src = fetchFromGitHub {
17 owner = "rems-project";
20 hash = "sha256-7/YfDK3TruKCckMzAPLRrwBkHRJcX1S+AzXHWRxkZPA=";
23 nativeBuildInputs = [ findlib ocaml ];
25 propagatedBuildInputs = [ lem ];
27 createFindlibDestdir = true;
30 homepage = "https://github.com/rems-project/linksem";
31 description = "A formalisation of substantial parts of ELF linking and DWARF debug information";
32 maintainers = with maintainers; [ genericnerdyusername ];
33 license = licenses.bsd2;
34 platforms = ocaml.meta.platforms;