coq.autosubst: refactor

Rather than explicitely naming each revision, since they all use the same naming scheme, we
encode that scheme directly using `releaseRev`.
This commit is contained in:
jthulhu
2024-09-19 10:41:06 +02:00
committed by Vincent Laporte
parent 3a3261791c
commit 56501da6c7

View File

@@ -3,9 +3,9 @@
mkCoqDerivation {
pname = "autosubst";
release."1.7".rev = "v1.7";
releaseRev = v: "v${v}";
release."1.7".sha256 = "sha256-qoyteQ5W2Noxf12uACOVeHhPLvgmTzrvEo6Ts+FKTGI=";
release."1.8".rev = "v1.8";
release."1.8".sha256 = "sha256-n0lD8D+tjqkDDjFiE4CggxczOPS5TkEnxpB3zEwWZ2I=";
inherit version;