nixpkgs-suyu/pkgs/development/nim-packages/vmath/default.nix
2023-08-21 07:32:46 +01:00

24 lines
523 B
Nix

{ lib, stdenv, buildNimPackage, fetchFromGitHub }:
buildNimPackage rec {
pname = "vmath";
version = "1.1.1";
src = fetchFromGitHub {
owner = "treeform";
repo = pname;
rev = version;
hash = "sha256-/v0lQIOMogTxFRtbssziW4W6VhMDepM6Si8igLgcx30=";
};
nimFlags = [ "--mm:refc" ];
doCheck = !stdenv.isDarwin;
meta = with lib;
src.meta // {
description = "Math vector library for graphical things";
license = [ licenses.mit ];
maintainers = [ maintainers.ehmry ];
};
}