nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, buildNimPackage, fetchFromGitHub }:
2
3buildNimPackage rec {
4 pname = "vmath";
5 version = "1.1.1";
6
7 src = fetchFromGitHub {
8 owner = "treeform";
9 repo = pname;
10 rev = version;
11 hash = "sha256-/v0lQIOMogTxFRtbssziW4W6VhMDepM6Si8igLgcx30=";
12 };
13
14 doCheck = !stdenv.isDarwin;
15
16 meta = with lib;
17 src.meta // {
18 description = "Math vector library for graphical things";
19 license = [ licenses.mit ];
20 maintainers = [ maintainers.ehmry ];
21 };
22}