Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildNimPackage, fetchFromGitHub, unzip }: 2 3buildNimPackage rec { 4 pname = "zippy"; 5 version = "0.7.3"; 6 7 nativeBuildInputs = [ unzip ]; 8 9 src = fetchFromGitHub { 10 owner = "guzba"; 11 repo = pname; 12 rev = version; 13 hash = "sha256-w64ENRyP3mNTtESSt7CDDxUkjYSfziNVVedkO4HIuJ8="; 14 }; 15 16 doCheck = true; 17 18 meta = with lib; 19 src.meta // { 20 description = "Pure Nim implementation of deflate, zlib, gzip and zip"; 21 license = [ licenses.mit ]; 22 maintainers = [ maintainers.ehmry ]; 23 }; 24}