abc-verifier: passthru rev

Some consumers of abc-verifier require certain abc versions.
For that reason, expose the exact rev via a passtrhru.
This commit is contained in:
Florian Klink 2020-02-01 12:33:46 +01:00
parent 351f47da57
commit 570afbcb5b

View file

@ -1,16 +1,20 @@
{ fetchFromGitHub, stdenv, readline, cmake }:
stdenv.mkDerivation {
let
rev = "71f2b40320127561175ad60f6f2428f3438e5243";
in stdenv.mkDerivation {
pname = "abc-verifier";
version = "2020-01-11";
src = fetchFromGitHub {
inherit rev;
owner = "berkeley-abc";
repo = "abc";
rev = "71f2b40320127561175ad60f6f2428f3438e5243";
sha256 = "15sn146ajxql7l1h8rsag5lhn4spwvgjhwzqawfr78snzadw8by3";
};
passthru.rev = rev;
nativeBuildInputs = [ cmake ];
buildInputs = [ readline ];