git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #117387 from AndersonTorres/new-zziplib

zziplib: 0.13.71 -> 0.13.72

commitd969cf2f42e3eb300a26d2bfe6bf4fb908230fd2 authorAnderson Torres <torres.anderson.85@protonmail.com> dateTue 23 Mar 2021, 19:00 (6 years ago) parenta988e18dfff61f
1 file changed+29−45
pkgs/development/libraries/zziplib/default.nix+29−45
pkgs/development/libraries/zziplib/default.nix+29−45
@@ -1,80 +1,64 @@
1−{ lib, stdenv
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, cmake
25, perl
36, pkg-config
4−, fetchFromGitHub
5−, fetchpatch
6−, zip
7−, unzip
87, python3
98, xmlto
9+, zip
1010, zlib
1111}:
1212
1313stdenv.mkDerivation rec {
1414 pname = "zziplib";
15− version = "0.13.71";
15+ version = "0.13.72";
1616
1717 src = fetchFromGitHub {
1818 owner = "gdraheim";
19− repo = "zziplib";
19+ repo = pname;
2020 rev = "v${version}";
21− sha256 = "P+7D57sc2oIABhk3k96aRILpGnsND5SLXHh2lqr9O4E=";
21+ hash = "sha256-Ht3fBgdrTm4mCi5uhgQPNtpGzADoRVOpSuGPsIS6y0Q=";
2222 };
2323
24− patches = [
25− # Install man pages
26− (fetchpatch {
27− url = "https://github.com/gdraheim/zziplib/commit/5583ccc7a247ee27556ede344e93d3ac1dc72e9b.patch";
28− sha256 = "wVExEZN8Ml1/3GicB0ZYsLVS3KJ8BSz8i4Gu46naz1Y=";
29− excludes = [ "GNUmakefile" ];
30− })
31−
32− # Fix man page formatting
33− (fetchpatch {
34− url = "https://github.com/gdraheim/zziplib/commit/22ed64f13dc239f86664c60496261f544bce1088.patch";
35− sha256 = "ScFVWLc4LQPqkcHn9HK/VkLula4b5HzuYl0b5vi4Ikc=";
36− })
37− ];
38−
3924 nativeBuildInputs = [
25+ cmake
4026 perl
4127 pkg-config
42− zip
4328 python3
4429 xmlto
30+ zip
4531 ];
46−
4732 buildInputs = [
4833 zlib
4934 ];
5035
51− checkInputs = [
52− unzip
53− ];
54−
55− # tests are broken (https://github.com/gdraheim/zziplib/issues/20),
56− # and test/zziptests.py requires network access
36+ # test/zziptests.py requires network access
5737 # (https://github.com/gdraheim/zziplib/issues/24)
58− doCheck = false;
59− checkTarget = "check";
38+ cmakeFlags = [
39+ "-DZZIP_TESTCVE=OFF"
40+ "-DBUILD_SHARED_LIBS=True"
41+ "-DBUILD_STATIC_LIBS=False"
42+ "-DBUILD_TESTS=OFF"
43+ "-DMSVC_STATIC_RUNTIME=OFF"
44+ "-DZZIPSDL=OFF"
45+ "-DZZIPTEST=OFF"
46+ "-DZZIPWRAP=OFF"
47+ "-DBUILDTESTS=OFF"
48+ ];
6049
6150 meta = with lib; {
51+ homepage = "https://github.com/gdraheim/zziplib";
6252 description = "Library to extract data from files archived in a zip file";
63−
6453 longDescription = ''
65− The zziplib library is intentionally lightweight, it offers the ability
66− to easily extract data from files archived in a single zip
67− file. Applications can bundle files into a single zip archive and
68− access them. The implementation is based only on the (free) subset of
69− compression with the zlib algorithm which is actually used by the
70− zip/unzip tools.
54+ The zziplib library is intentionally lightweight, it offers the ability to
55+ easily extract data from files archived in a single zip file.
56+ Applications can bundle files into a single zip archive and access them.
57+ The implementation is based only on the (free) subset of compression with
58+ the zlib algorithm which is actually used by the zip/unzip tools.
7159 '';
72−
7360 license = with licenses; [ lgpl2Plus mpl11 ];
74−
75− homepage = "http://zziplib.sourceforge.net/";
76−
77− maintainers = [ ];
61+ maintainers = with maintainers; [ AndersonTorres ];
7862 platforms = python3.meta.platforms;
7963 };
8064}