depot/third_party/nixpkgs/pkgs/development/libraries/quazip/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
720 B
Nix

{ fetchFromGitHub, lib, stdenv, zlib, qtbase, cmake, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
pname = "quazip";
version = "0.9.1";
src = fetchFromGitHub {
owner = "stachenov";
repo = pname;
rev = "v${version}";
sha256 = "11icgwv2xyxhd1hm1add51xv54zwkcqkg85d1xqlgiigvbm196iq";
};
buildInputs = [ zlib qtbase ];
nativeBuildInputs = [ cmake ]
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
meta = with lib; {
description = "Provides access to ZIP archives from Qt programs";
license = licenses.lgpl21Plus;
homepage = "https://stachenov.github.io/quazip/"; # Migrated from http://quazip.sourceforge.net/
platforms = with platforms; linux ++ darwin;
};
}