nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 alcotest,
3 astring,
4 buildDunePackage,
5 camlzip,
6 fetchurl,
7 lib,
8 ocplib-endian,
9 qcheck,
10 rresult,
11}:
12
13buildDunePackage (finalAttrs: {
14 pname = "ezgzip";
15 version = "0.2.3";
16 src = fetchurl {
17 url = "https://github.com/hcarty/ezgzip/releases/download/v${finalAttrs.version}/ezgzip-v${finalAttrs.version}.tbz";
18 hash = "sha256-iGju25j4Oy1T8JGoJ9ubeltOm6U4u8CAyRtKxLr2edQ=";
19 };
20 propagatedBuildInputs = [
21 astring
22 camlzip
23 ocplib-endian
24 rresult
25 ];
26 checkInputs = [
27 alcotest
28 qcheck
29 ];
30 doCheck = true;
31 meta = {
32 description = "Simple gzip (de)compression library";
33 homepage = "https://github.com/hcarty/ezgzip";
34 license = lib.licenses.mit;
35 maintainers = [ lib.maintainers.vog ];
36 };
37})