about summary refs log tree commit diff
path: root/pkgs/applications/science/logic/petrinizer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/logic/petrinizer/default.nix')
-rw-r--r--pkgs/applications/science/logic/petrinizer/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/science/logic/petrinizer/default.nix b/pkgs/applications/science/logic/petrinizer/default.nix
new file mode 100644
index 000000000000..cb35b9f27d52
--- /dev/null
+++ b/pkgs/applications/science/logic/petrinizer/default.nix
@@ -0,0 +1,25 @@
+{ mkDerivation, async, base, bytestring, containers, fetchFromGitLab, mtl
+, parallel-io, parsec, sbv, stdenv, stm, transformers
+}:
+mkDerivation rec {
+  pname = "petrinizer";
+  version = "0.9.1.1";
+
+  src = fetchFromGitLab {
+    domain = "gitlab.lrz.de";
+    owner = "i7";
+    repo = pname;
+    rev = version;
+    sha256 = "1n7fzm96gq5rxm2f8w8sr1yzm1zcxpf0b473c6xnhsgqsis5j4xw";
+  };
+
+  isLibrary = false;
+  isExecutable = true;
+  executableHaskellDepends = [
+    async base bytestring containers mtl parallel-io parsec sbv stm
+    transformers
+  ];
+  description = "Safety and Liveness Analysis of Petri Nets with SMT solvers";
+  license = stdenv.lib.licenses.gpl3;
+  maintainers = with stdenv.lib.maintainers; [ raskin ];
+}