summaryrefslogtreecommitdiffstats
path: root/pkgs/development/idris-modules/pacman.nix
blob: ba13f0889d7d379c1d4ff517a856566f9e8cf75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  build-idris-package,
  fetchFromGitHub,
  contrib,
  sdl2,
  lib,
}:
build-idris-package {
  pname = "pacman";
  version = "2017-11-10";

  idrisDeps = [
    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 ];
  };
}