nimPackages.sdl2: 2.0.4 -> 2.0.5
This commit is contained in:
parent
b9c260884b
commit
0e5fcd671f
1 changed files with 12 additions and 8 deletions
|
@ -1,16 +1,20 @@
|
|||
{ lib, buildNimPackage, fetchNimble, SDL2 }:
|
||||
{ lib, buildNimPackage, fetchFromGitHub, SDL2 }:
|
||||
|
||||
buildNimPackage (finalAttrs: {
|
||||
buildNimPackage (final: prev: {
|
||||
pname = "sdl2";
|
||||
version = "2.0.4";
|
||||
src = fetchNimble {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
||||
version = "2.0.5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nim-lang";
|
||||
repo = "sdl2";
|
||||
rev = "v${final.version}";
|
||||
hash = "sha256-oUTUWuBphoR0pBMkcJBVDW+dnnF8KK23F7eW3lOLNO4=";
|
||||
};
|
||||
propagatedBuildInputs = [ SDL2 ];
|
||||
meta = {
|
||||
meta = final.src.meta // {
|
||||
description = "Nim wrapper for SDL 2.x";
|
||||
platforms = lib.platforms.linux; # Problems with Darwin.
|
||||
homepage = "https://github.com/nim-lang/sdl2";
|
||||
license = [ lib.licenses.mit ];
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue