about summary refs log tree commit diff
path: root/pkgs/development/libraries/agda
diff options
context:
space:
mode:
authorManuel Bärenz <programming@manuelbaerenz.de>2020-10-12 20:00:06 +0200
committerManuel Bärenz <programming@manuelbaerenz.de>2021-08-30 09:20:45 +0200
commit2e5ce8930cf14bdfc8c6e524b82eaf15286214b1 (patch)
treecbc1c90e5c909bde93723074b4b13dfc11d36c14 /pkgs/development/libraries/agda
parent58ec6ce9b587c763636ceff916bcd41de87c9748 (diff)
agdaPackages.agdarsec: Init at 0.4.1
Diffstat (limited to 'pkgs/development/libraries/agda')
-rw-r--r--pkgs/development/libraries/agda/agdarsec/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/agda/agdarsec/default.nix b/pkgs/development/libraries/agda/agdarsec/default.nix
new file mode 100644
index 0000000000000..ccdf65f965709
--- /dev/null
+++ b/pkgs/development/libraries/agda/agdarsec/default.nix
@@ -0,0 +1,28 @@
+{ lib, mkDerivation, fetchFromGitHub
+, standard-library }:
+
+mkDerivation rec {
+  pname = "agdarsec";
+  version = "0.4.1";
+
+  src = fetchFromGitHub {
+    owner = "gallais";
+    repo = "agdarsec";
+    rev = "v${version}";
+    sha256 = "02fqkycvicw6m2xsz8p01aq8n3gj2d2gyx8sgj15l46f8434fy0x";
+  };
+
+  everythingFile = "./index.agda";
+
+  includePaths = [ "src" "examples" ];
+
+  buildInputs = [ standard-library ];
+
+  meta = with lib; {
+    homepage = "https://gallais.github.io/agdarsec/";
+    description = "Total Parser Combinators in Agda";
+    license = licenses.gpl3;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ turion ];
+  };
+}