blob: 821118f598c5a914237e68c5e5de41fb7b1215b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, fetchgit
, buildGoModule
, pigeon
}:
buildGoModule rec {
pname = "verifpal";
version = "0.26.1";
src = fetchgit {
url = "https://source.symbolic.software/verifpal/verifpal.git";
rev = "v${version}";
sha256 = "sha256-y07RXv2QSyUJpGuFsLJ2sGNo4YzhoCYQr3PkUj4eIOY=";
};
vendorSha256 = "sha256-gUpgnd/xiLqRNl1bPzVp+0GM/J5GEx0VhUfo6JsX8N8=";
nativeBuildInputs = [ pigeon ];
subPackages = [ "cmd/verifpal" ];
# goversioninfo is for Windows only and can be skipped during go generate
preBuild = ''
substituteInPlace cmd/verifpal/main.go --replace "go:generate goversioninfo" "(disabled goversioninfo)"
go generate verifpal.com/cmd/verifpal
'';
meta = {
homepage = "https://verifpal.com/";
description = "Cryptographic protocol analysis for students and engineers";
maintainers = with lib.maintainers; [ zimbatm ];
license = with lib.licenses; [ gpl3 ];
platforms = [ "x86_64-linux" ];
};
}
|