mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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:
parent
351f47da57
commit
570afbcb5b
1 changed files with 6 additions and 2 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue