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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
743 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, stdenv, zlib, qtbase, cmake, fixDarwinDylibNames }:
2014-09-12 13:05:08 +00:00
stdenv.mkDerivation rec {
pname = "quazip";
2021-12-07 06:50:24 +00:00
version = "1.2";
2014-09-12 13:05:08 +00:00
src = fetchFromGitHub {
owner = "stachenov";
repo = pname;
2019-06-01 12:45:03 +00:00
rev = "v${version}";
2021-12-07 06:50:24 +00:00
sha256 = "sha256-fsEMmbatTB1s8JnUYE18/vj2FZ2b40zHoOlL2OVplLc=";
2014-09-12 13:05:08 +00:00
};
buildInputs = [ zlib qtbase ];
2019-06-01 12:45:03 +00:00
nativeBuildInputs = [ cmake ]
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
2014-09-12 13:05:08 +00:00
dontWrapQtApps = true;
meta = with lib; {
2014-09-14 15:53:12 +00: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 13:05:08 +00:00
};
}