about summary refs log tree commit diff
path: root/pkgs/tools/text/jbofihe
diff options
context:
space:
mode:
authorScott Worley2021-06-09 23:13:36 -0700
committerScott Worley2021-06-10 09:49:26 -0700
commit462730dd7f39c793e64b8f96928cc5d975f245ab (patch)
treedb8030d1a609450f3fc3b8670b8e985c533c1480 /pkgs/tools/text/jbofihe
parentfbfb79400a08bf754e32b4d4fc3f7d8f8055cf94 (diff)
jbofihe: Init at 0.43
Diffstat (limited to 'pkgs/tools/text/jbofihe')
-rw-r--r--pkgs/tools/text/jbofihe/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/text/jbofihe/default.nix b/pkgs/tools/text/jbofihe/default.nix
new file mode 100644
index 000000000000..111b019c3b13
--- /dev/null
+++ b/pkgs/tools/text/jbofihe/default.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, fetchFromGitHub, bison, flex, perl, }:
+
+stdenv.mkDerivation rec {
+  pname = "jbofihe";
+  version = "0.43";
+
+  src = fetchFromGitHub {
+    owner = "lojban";
+    repo = "jbofihe";
+    rev = "v${version}";
+    sha256 = "1xx7x1256sjncyzx656jl6jl546vn8zz0siymqalz6v9yf341p98";
+  };
+
+  nativeBuildInputs = [ bison flex perl ];
+
+  doCheck = true;
+  checkPhase = ''
+    runHook preCheck
+    (cd tests && ./run *.in)
+    runHook postCheck
+  '';
+
+  meta = with lib; {
+    description = "Parser & analyser for Lojban";
+    homepage = "https://github.com/lojban/jbofihe";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ chkno ];
+  };
+}