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