2018-03-16 11:40:17 +00:00
|
|
|
{ build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, contrib
|
|
|
|
, sdl2
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
build-idris-package {
|
|
|
|
name = "pacman";
|
|
|
|
version = "2017-11-10";
|
|
|
|
|
2018-07-02 04:18:21 +01:00
|
|
|
idrisDeps = [ contrib sdl2 ];
|
2018-03-16 11:40:17 +00:00
|
|
|
|
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jdublu10/pacman";
|
2018-03-16 11:40:17 +00:00
|
|
|
maintainers = [ lib.maintainers.brainrape ];
|
|
|
|
};
|
|
|
|
}
|