mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
18 lines
441 B
Nix
18 lines
441 B
Nix
{ lib, buildNimPackage, fetchNimble, SDL2 }:
|
|
|
|
buildNimPackage rec {
|
|
pname = "sdl2";
|
|
version = "2.0.4";
|
|
src = fetchNimble {
|
|
inherit pname version;
|
|
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
|
};
|
|
propagatedBuildInputs = [ SDL2 ];
|
|
doCheck = true;
|
|
meta = {
|
|
description = "Nim wrapper for SDL 2.x";
|
|
platforms = lib.platforms.linux; # Problems with Darwin.
|
|
license = [ lib.licenses.mit ];
|
|
};
|
|
}
|