summary refs log tree commit diff
path: root/pkgs/development/idris-modules/sdl2.nix
blob: a9a9a22a15fcb401eab1f68a70dafde7cc2212fc (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
{ build-idris-package
, fetchFromGitHub
, effects
, lib
, pkgconfig
, SDL2
, SDL2_gfx
}:
build-idris-package  {
  name = "sdl2";
  version = "2018-01-19";

  idrisDeps = [ effects ];

  extraBuildInputs = [ pkgconfig SDL2 SDL2_gfx ];

  src = fetchFromGitHub {
    owner = "steshaw";
    repo = "idris-sdl2";
    rev = "ebc36a0efb3e8086f2999120e7a8a8ac4952c6f6";
    sha256 = "060k0i1pjilrc4pcz7v70hbipaw2crz14yxjlyjlhn6qm03131q0";
  };

  meta = {
    description = "SDL2 binding for Idris";
    homepage = https://github.com/steshaw/idris-sdl2;
    maintainers = [ lib.maintainers.brainrape ];
  };
}