Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildNimPackage, fetchFromGitHub, vmath }: 2 3buildNimPackage rec { 4 pname = "bumpy"; 5 version = "1.0.3"; 6 7 src = fetchFromGitHub { 8 owner = "treeform"; 9 repo = pname; 10 rev = version; 11 hash = "sha256-mDmDlhOGoYYjKgF5j808oT2NqRlfcOdLSDE3WtdJFQ0="; 12 }; 13 14 propagatedBuildInputs = [ vmath ]; 15 16 doCheck = true; 17 18 meta = with lib; 19 src.meta // { 20 description = "2d collision library"; 21 license = [ licenses.mit ]; 22 maintainers = [ maintainers.ehmry ]; 23 }; 24}