summary refs log tree commit diff
path: root/pkgs/development/idris-modules/idrishighlighter.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/idris-modules/idrishighlighter.nix')
-rw-r--r--pkgs/development/idris-modules/idrishighlighter.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/idrishighlighter.nix b/pkgs/development/idris-modules/idrishighlighter.nix
new file mode 100644
index 00000000000..f3d06216976
--- /dev/null
+++ b/pkgs/development/idris-modules/idrishighlighter.nix
@@ -0,0 +1,29 @@
+{ build-idris-package
+, fetchFromGitHub
+, prelude
+, effects
+, lightyear
+, lib
+, idris
+}:
+build-idris-package  {
+  name = "idrishighlighter";
+  version = "2018-02-22";
+
+  idrisDeps = [ prelude effects lightyear ];
+
+  src = fetchFromGitHub {
+    owner = "david-christiansen";
+    repo = "idris-code-highlighter";
+    rev = "708a29c7d1433adf7b0f69d1aec50e69b2915bba";
+    sha256 = "16ahzf2jzh7wzi4jjq94s5z9nzkgnj2962dy13s1crim53csjgw5";
+  };
+
+  meta = {
+    description = "Semantic highlighter for Idris code";
+    homepage = https://github.com/david-christiansen/idris-code-highlighter;
+    license = lib.licenses.mit;
+    maintainers = [ lib.maintainers.brainrape ];
+    inherit (idris.meta) platforms;
+  };
+}