From 632c5f4691a22580eb202c5fb24a9df3fb1de3d5 Mon Sep 17 00:00:00 2001
From: Ralf Jung <jung@mpi-sws.org>
Date: Fri, 21 Feb 2020 13:41:41 +0100
Subject: [PATCH] port oapm file to 2.0

---
 opam | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/opam b/opam
index 0aaf5e4e..e10cbb87 100644
--- a/opam
+++ b/opam
@@ -1,14 +1,23 @@
-opam-version: "1.2"
+opam-version: "2.0"
 name: "coq-lambda-rust"
-version: "dev"
 maintainer: "Ralf Jung <jung@mpi-sws.org>"
 authors: "The RustBelt Team"
-homepage: "http://plv.mpi-sws.org/rustbelt/"
+license: "BSD"
+homepage: "https://plv.mpi-sws.org/rustbelt/"
 bug-reports: "https://gitlab.mpi-sws.org/iris/lambda-rust/issues"
-dev-repo: "https://gitlab.mpi-sws.org/iris/lambda-rust.git"
-build: [make "-j%{jobs}%"]
-install: [make "install"]
-remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/lrust'" ]
+dev-repo: "git+https://gitlab.mpi-sws.org/iris/lambda-rust.git"
+
+synopsis: "LambdaRust Coq formalization (weak memory branch)"
+description: """
+A formal model of a Rust core langauge and type system, a logical relation for
+the type system, and safety proof for some Rust libraries.
+
+This branch uses a proper weak memory model.
+"""
+
 depends: [
   "coq-gpfsl" { (= "dev.2020-02-15.1.a9cd56f7") | (= "dev") }
 ]
+
+build: [make "-j%{jobs}%"]
+install: [make "install"]
-- 
GitLab