1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/idris-modules/sdl2.nix

42 lines
677 B
Nix
Raw Normal View History

2018-03-16 11:40:17 +00:00
{ build-idris-package
, fetchFromGitHub
, effects
, lib
, pkg-config
2018-03-16 11:40:17 +00:00
, SDL2
, SDL2_gfx
}:
build-idris-package rec {
2018-03-16 11:40:17 +00:00
name = "sdl2";
version = "0.1.1";
2018-03-16 11:40:17 +00:00
2018-07-02 04:18:21 +01:00
idrisDeps = [ effects ];
2018-03-16 11:40:17 +00:00
nativeBuildInputs = [
pkg-config
];
extraBuildInputs = [
SDL2
SDL2_gfx
];
prePatch = "patchShebangs .";
2018-03-16 11:40:17 +00:00
src = fetchFromGitHub {
owner = "steshaw";
repo = "idris-sdl2";
rev = version;
sha256 = "1jslnlzyw04dcvcd7xsdjqa7waxzkm5znddv76sv291jc94xhl4a";
2018-03-16 11:40:17 +00:00
};
meta = {
description = "SDL2 binding for Idris";
homepage = "https://github.com/steshaw/idris-sdl2";
maintainers = with lib.maintainers; [
brainrape
steshaw
];
2018-03-16 11:40:17 +00:00
};
}