From ccc841f2d31a7b0563c7277628081db56d82de8d Mon Sep 17 00:00:00 2001 From: Anna Aurora Date: Fri, 7 Oct 2022 00:17:33 +0200 Subject: [PATCH] nimraylib-now: init at 0.15.0 --- .../nim-packages/nimraylib-now/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/nim-packages.nix | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 pkgs/development/nim-packages/nimraylib-now/default.nix diff --git a/pkgs/development/nim-packages/nimraylib-now/default.nix b/pkgs/development/nim-packages/nimraylib-now/default.nix new file mode 100644 index 000000000000..9610ac7afa66 --- /dev/null +++ b/pkgs/development/nim-packages/nimraylib-now/default.nix @@ -0,0 +1,20 @@ +{ lib, nimPackages, fetchFromGitHub }: + +nimPackages.buildNimPackage rec { + pname = "nimraylib-now"; + version = "0.15.0"; + + src = fetchFromGitHub { + owner = "greenfork"; + repo = "nimraylib_now"; + rev = "v${version}"; + sha256 = "sha256-18YiAzJ46dpD5JN+gH0MWKchZ5YLPBNcm9eVFnyy2Sw="; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7630b461e5c3..bd7c0f79dcd5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14468,6 +14468,8 @@ with pkgs; nimlsp = callPackage ../development/tools/misc/nimlsp { }; + nimraylib-now = callPackage ../development/nim-packages/nimraylib-now { }; + neko = callPackage ../development/compilers/neko { }; nextpnr = callPackage ../development/compilers/nextpnr { }; diff --git a/pkgs/top-level/nim-packages.nix b/pkgs/top-level/nim-packages.nix index a666177a92f1..3aeb23b85f79 100644 --- a/pkgs/top-level/nim-packages.nix +++ b/pkgs/top-level/nim-packages.nix @@ -71,6 +71,8 @@ lib.makeScope newScope (self: snappy = callPackage ../development/nim-packages/snappy { inherit (pkgs) snappy; }; + nimraylib-now = callPackage ../development/nim-packages/nimraylib-now { }; + spry = callPackage ../development/nim-packages/spry { }; spryvm = callPackage ../development/nim-packages/spryvm { };