From 12cf91863a18d37d27d59698d86d6f5554749c72 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Wed, 2 Aug 2023 13:45:20 +0100 Subject: [PATCH] nimPackages.nimsimd: 1.0.0 -> 1.2.5 --- .../nim-packages/nimsimd/default.nix | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/pkgs/development/nim-packages/nimsimd/default.nix b/pkgs/development/nim-packages/nimsimd/default.nix index 9ccd96453572..57f85054ae37 100644 --- a/pkgs/development/nim-packages/nimsimd/default.nix +++ b/pkgs/development/nim-packages/nimsimd/default.nix @@ -1,7 +1,18 @@ -{ fetchNimble }: +{ lib, buildNimPackage, fetchFromGitHub }: -fetchNimble { +buildNimPackage (final: prev: { pname = "nimsimd"; - version = "1.0.0"; - hash = "sha256-kp61fylAJ6MSN9hLYLi7CU2lxVR/lbrNCvZTe0LJLGo="; -} + version = "1.2.5"; + src = fetchFromGitHub { + owner = "guzba"; + repo = "nimsimd"; + rev = final.version; + hash = "sha256-EYLzpzmNUwEOEndAwnUXCqpIUMmpinpiZq+P6zO0Kk8="; + }; + meta = final.src.meta // { + description = "Pleasant Nim bindings for SIMD instruction sets"; + homepage = "https://github.com/guzba/nimsimd"; + license = [ lib.licenses.mit ]; + maintainers = with lib.maintainers; [ ehmry ]; + }; +})