nixpkgs/pkgs/development/libraries/quazip/default.nix

25 lines
727 B
Nix
Raw Normal View History

2019-06-01 13:45:03 +01:00
{ fetchFromGitHub, stdenv, zlib, qtbase, cmake, fixDarwinDylibNames }:
2014-09-12 14:05:08 +01:00
stdenv.mkDerivation rec {
pname = "quazip";
2020-05-10 04:14:47 +01:00
version = "0.9";
2014-09-12 14:05:08 +01:00
src = fetchFromGitHub {
owner = "stachenov";
repo = pname;
2019-06-01 13:45:03 +01:00
rev = "v${version}";
2020-05-10 04:14:47 +01:00
sha256 = "0psvf3d9akyyx3bckc9325nmbp97xiagf8la4vhca5xn2f430fbn";
2014-09-12 14:05:08 +01:00
};
buildInputs = [ zlib qtbase ];
2019-06-01 13:45:03 +01:00
nativeBuildInputs = [ cmake ]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
2014-09-12 14:05:08 +01:00
meta = with stdenv.lib; {
2014-09-14 16:53:12 +01:00
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;
2014-09-12 14:05:08 +01:00
};
}