2023-06-14 13:11:20 +02:00
|
|
|
{ lib, nimPackages, fetchFromGitHub, raylib }:
|
2022-10-07 00:17:33 +02:00
|
|
|
|
|
|
|
nimPackages.buildNimPackage rec {
|
|
|
|
pname = "nimraylib-now";
|
|
|
|
version = "0.15.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "greenfork";
|
|
|
|
repo = "nimraylib_now";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-18YiAzJ46dpD5JN+gH0MWKchZ5YLPBNcm9eVFnyy2Sw=";
|
|
|
|
};
|
|
|
|
|
2023-06-14 13:11:20 +02:00
|
|
|
propagatedBuildInputs = [ raylib ];
|
|
|
|
|
|
|
|
doCheck = false; # no $DISPLAY available
|
|
|
|
|
2022-10-07 00:17:33 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/greenfork/nimraylib_now";
|
|
|
|
description = "The Ultimate Raylib gaming library wrapper for Nim";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ annaaurora ];
|
|
|
|
};
|
|
|
|
}
|