nixpkgs/pkgs/development/idris-modules/sdl2.nix

32 lines
651 B
Nix
Raw Normal View History

2018-03-16 11:40:17 +00:00
{ build-idris-package
, fetchFromGitHub
, effects
, lib
, pkgconfig
, SDL2
, SDL2_gfx
}:
build-idris-package {
name = "sdl2";
version = "2018-01-19";
2018-07-02 04:18:21 +01:00
idrisDeps = [ effects ];
2018-03-16 11:40:17 +00:00
2018-07-02 04:18:21 +01:00
extraBuildInputs = [ pkgconfig SDL2 SDL2_gfx ];
2018-03-16 11:40:17 +00:00
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 ];
# Can't find file sdl2.o
broken = true;
2018-03-16 11:40:17 +00:00
};
}