Skip to content

Commit

Permalink
minizip2: init at 2.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Dec 7, 2020
1 parent 64c7999 commit c7447bc
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/libraries/minizip2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, cmake, pkg-config, zlib, bzip2, xz, zstd, openssl }:

stdenv.mkDerivation rec {
pname = "minizip";
version = "2.10.4";

src = fetchFromGitHub {
owner = "nmoinvaz";
repo = pname;
rev = version;
sha256 = "15bbagngvm738prkzv7lfs64pn4pq7jkhwz571j0w0nb5nw9c01x";
};

nativeBuildInputs = [ cmake pkg-config ];

cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
"-DMZ_OPENSSL=ON"
];

buildInputs = [ zlib bzip2 xz zstd openssl ];

meta = with stdenv.lib; {
description = "Compression library implementing the deflate compression method found in gzip and PKZIP";
homepage = "https://github.com/nmoinvaz/minizip";
license = licenses.zlib;
maintainers = with maintainers; [ gebner ];
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14927,6 +14927,8 @@ in

minizip = callPackage ../development/libraries/minizip { };

minizip2 = callPackage ../development/libraries/minizip2 { };

mkvtoolnix = libsForQt5.callPackage ../applications/video/mkvtoolnix { };

mkvtoolnix-cli = callPackage ../applications/video/mkvtoolnix {
Expand Down

0 comments on commit c7447bc

Please sign in to comment.