about summary refs log tree commit diff
path: root/pkgs/development/libraries/agda
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2021-10-06 17:48:25 -0300
committerGitHub <noreply@github.com>2021-10-06 17:48:25 -0300
commitd3ee4ba650985024fe56e6c9af4f60e5ec3b3f45 (patch)
tree126d8c2650f1a05e39031a302c98545938f4d7f3 /pkgs/development/libraries/agda
parent1d88d6faedf9255f2fcb30b1e9b1065f4524ddf4 (diff)
parent2e5ce8930cf14bdfc8c6e524b82eaf15286214b1 (diff)
Merge pull request #100351 from turion/dev_add_agdarsec
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 ];
+  };
+}