2021-09-23 15:35:13 +00:00
|
|
|
{ lib, buildNimPackage, fetchNimble, SDL2 }:
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
buildNimPackage (finalAttrs: {
|
2021-09-23 15:35:13 +00:00
|
|
|
pname = "sdl2";
|
|
|
|
version = "2.0.4";
|
|
|
|
src = fetchNimble {
|
2023-07-15 17:15:38 +00:00
|
|
|
inherit (finalAttrs) pname version;
|
2021-09-23 15:35:13 +00:00
|
|
|
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [ SDL2 ];
|
|
|
|
meta = {
|
|
|
|
description = "Nim wrapper for SDL 2.x";
|
|
|
|
platforms = lib.platforms.linux; # Problems with Darwin.
|
|
|
|
license = [ lib.licenses.mit ];
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|