My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/libraries/quazip/default.nix

27 lines
808 B

{ fetchFromGitHub, stdenv, zlib, qtbase, qmake, fixDarwinDylibNames }:
10 years ago
stdenv.mkDerivation rec {
pname = "quazip";
version = "0.7.6";
10 years ago
src = fetchFromGitHub {
owner = "stachenov";
repo = pname;
rev = version;
sha256 = "1p6khy8fn9bwp14l6wd3sniwwm5v216l8xncfb7a6psjzvq5ypy6";
10 years ago
};
buildInputs = [ zlib qtbase ];
nativeBuildInputs = [ qmake ]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
qmakeFlags = [ "quazip" ]
++ stdenv.lib.optional stdenv.isDarwin [ "LIBS=-lz" ];
10 years ago
meta = with stdenv.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;
10 years ago
};
}