verifpal: 0.2.0 → 0.7.5 (#72026)
This commit is contained in:
parent
a2f50c02cc
commit
e59c610d58
@ -1,24 +1,28 @@
|
|||||||
{ lib, fetchFromGitHub, buildGoPackage, pigeon }:
|
{ lib
|
||||||
|
, fetchgit
|
||||||
|
, buildGoPackage
|
||||||
|
, pigeon
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "verifpal";
|
pname = "verifpal";
|
||||||
version = "0.2";
|
version = "0.7.5";
|
||||||
|
|
||||||
goPackagePath = "github.com/SymbolicSoft/verifpal";
|
goPackagePath = "github.com/SymbolicSoft/verifpal";
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchgit {
|
||||||
owner = "SymbolicSoft";
|
url = "https://source.symbolic.software/verifpal/verifpal.git";
|
||||||
repo = pname;
|
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "08a0xvgg94k6vq91ylvgi97kpkjbw0rw172v2dzwl2rfpzkigk1r";
|
sha256 = "0njgn6j5qg5kgid6ddv23axhw5gwjbayhdjkj4ya08mnxndr284m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pigeon ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e 's|/bin/echo |echo |g' -i Makefile
|
sed -e 's|/bin/echo |echo |g' -i Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ pigeon ];
|
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make -C go/src/$goPackagePath parser linux
|
make -C go/src/$goPackagePath parser linux
|
||||||
'';
|
'';
|
||||||
@ -33,6 +37,6 @@ buildGoPackage rec {
|
|||||||
description = "Cryptographic protocol analysis for students and engineers";
|
description = "Cryptographic protocol analysis for students and engineers";
|
||||||
maintainers = with lib.maintainers; [ zimbatm ];
|
maintainers = with lib.maintainers; [ zimbatm ];
|
||||||
license = with lib.licenses; [ gpl3 ];
|
license = with lib.licenses; [ gpl3 ];
|
||||||
platforms = ["x86_64-linux"];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user