2022-01-02 16:48:54 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub, unzip }:
|
2021-09-02 17:03:01 +00:00
|
|
|
|
2022-01-02 16:48:54 +00:00
|
|
|
buildNimPackage rec {
|
2021-09-02 17:03:01 +00:00
|
|
|
pname = "zippy";
|
2022-01-02 15:11:34 +00:00
|
|
|
version = "0.7.3";
|
2022-01-02 16:48:54 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guzba";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-w64ENRyP3mNTtESSt7CDDxUkjYSfziNVVedkO4HIuJ8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib;
|
|
|
|
src.meta // {
|
|
|
|
description = "Pure Nim implementation of deflate, zlib, gzip and zip";
|
|
|
|
license = [ licenses.mit ];
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
};
|
2021-09-02 17:03:01 +00:00
|
|
|
}
|