summary refs log tree commit diff
path: root/pkgs/development/idris-modules/sdl.nix
blob: 181959dca063dbc7b5a57d2a7d3bc732b3e0af82 (plain) (blame)
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
{ build-idris-package
, fetchFromGitHub
, prelude
, effects
, lib
, idris
, SDL
, SDL_gfx
}:

build-idris-package  {
  name = "sdl";
  version = "2017-03-24";

  idrisDeps = [ prelude effects ];

  extraBuildInputs = [ idris SDL SDL_gfx ];

  src = fetchFromGitHub {
    owner = "edwinb";
    repo = "SDL-idris";
    rev = "095ce70da7ea9f163b018b690105edf375f1befe";
    sha256 = "0nryssnaqfq2pvz2mbl2kkx6mig310f9dpgrbcx788nxi0qzsig6";
  };

  meta = {
    description = "SDL-idris framework for Idris";
    homepage = https://github.com/edwinb/SDL-idris;
    maintainers = [ lib.maintainers.brainrape ];
    inherit (idris.meta) platforms;
  };
}