about summary refs log tree commit diff
path: root/pkgs/tools/security/verifpal
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-10-27 13:40:31 +0100
committerEmery Hemingway <ehmry@posteo.net>2019-10-27 13:40:31 +0100
commite59c610d58882a5bc36d37e8c8ef912407492447 (patch)
tree29d04927d743bb99fdf7f237b44ac0d4541ced67 /pkgs/tools/security/verifpal
parenta2f50c02cc7a9da6e72bdd77ca6e6796f3cc86ca (diff)
verifpal: 0.2.0 → 0.7.5 (#72026)
Diffstat (limited to 'pkgs/tools/security/verifpal')
-rw-r--r--pkgs/tools/security/verifpal/default.nix22
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/tools/security/verifpal/default.nix b/pkgs/tools/security/verifpal/default.nix
index 3b72cf3bd53e1..95afb580d4e15 100644
--- a/pkgs/tools/security/verifpal/default.nix
+++ b/pkgs/tools/security/verifpal/default.nix
@@ -1,24 +1,28 @@
-{ lib, fetchFromGitHub, buildGoPackage, pigeon }:
+{ lib
+, fetchgit
+, buildGoPackage
+, pigeon
+}:
+
 buildGoPackage rec {
   pname = "verifpal";
-  version = "0.2";
+  version = "0.7.5";
 
   goPackagePath = "github.com/SymbolicSoft/verifpal";
   goDeps = ./deps.nix;
 
-  src = fetchFromGitHub {
-    owner = "SymbolicSoft";
-    repo = pname;
+  src = fetchgit {
+    url = "https://source.symbolic.software/verifpal/verifpal.git";
     rev = version;
-    sha256 = "08a0xvgg94k6vq91ylvgi97kpkjbw0rw172v2dzwl2rfpzkigk1r";
+    sha256 = "0njgn6j5qg5kgid6ddv23axhw5gwjbayhdjkj4ya08mnxndr284m";
   };
 
+  nativeBuildInputs = [ pigeon ];
+
   postPatch = ''
     sed -e 's|/bin/echo |echo |g' -i Makefile
   '';
 
-  buildInputs = [ pigeon ];
-
   buildPhase = ''
     make -C go/src/$goPackagePath parser linux
   '';
@@ -33,6 +37,6 @@ buildGoPackage rec {
     description = "Cryptographic protocol analysis for students and engineers";
     maintainers = with lib.maintainers; [ zimbatm ];
     license = with lib.licenses; [ gpl3 ];
-    platforms = ["x86_64-linux"];
+    platforms = [ "x86_64-linux" ];
   };
 }