2022-01-02 17:48:54 +01:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub, unzip }:
|
2021-09-02 19:03:01 +02:00
|
|
|
|
2022-01-02 17:48:54 +01:00
|
|
|
buildNimPackage rec {
|
2021-09-02 19:03:01 +02:00
|
|
|
pname = "zippy";
|
2022-01-02 16:11:34 +01:00
|
|
|
version = "0.7.3";
|
2022-01-02 17:48:54 +01: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 19:03:01 +02:00
|
|
|
}
|