about summary refs log tree commit diff
path: root/pkgs/development/idris-modules/pacman.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/idris-modules/pacman.nix')
-rw-r--r--pkgs/development/idris-modules/pacman.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/pacman.nix b/pkgs/development/idris-modules/pacman.nix
new file mode 100644
index 0000000000000..3650a3990f245
--- /dev/null
+++ b/pkgs/development/idris-modules/pacman.nix
@@ -0,0 +1,32 @@
+{ build-idris-package
+, fetchFromGitHub
+, prelude
+, contrib
+, sdl2
+, lib
+, idris
+}:
+build-idris-package  {
+  name = "pacman";
+  version = "2017-11-10";
+
+  idrisDeps = [ prelude contrib sdl2 ];
+
+  src = fetchFromGitHub {
+    owner = "jdublu10";
+    repo = "pacman";
+    rev = "263ae58aeb5147e2af9cc76411970ccd90fa9121";
+    sha256 = "02m3ic2fk3a8j50xdpq70yx30hkxzjg6idsia482sm1nlkmxxin9";
+  };
+
+  postUnpack = ''
+    mv source/src/board.idr source/src/Board.idr
+  '';
+
+  meta = {
+    description = "Proof that Idris is pacman complete";
+    homepage = https://github.com/jdublu10/pacman;
+    maintainers = [ lib.maintainers.brainrape ];
+    inherit (idris.meta) platforms;
+  };
+}