mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
30 lines
619 B
Nix
30 lines
619 B
Nix
{ build-idris-package
|
|
, fetchFromGitHub
|
|
, contrib
|
|
, sdl2
|
|
, lib
|
|
}:
|
|
build-idris-package {
|
|
name = "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 ];
|
|
};
|
|
}
|