nixpkgs-suyu/pkgs/development/libraries/libarchive-qt/default.nix
2022-03-07 10:04:32 +07:00

34 lines
761 B
Nix

{ mkDerivation, lib, fetchFromGitLab, libarchive, xz, zlib, bzip2, meson, pkg-config, ninja }:
mkDerivation rec {
pname = "libarchive-qt";
version = "2.0.7";
src = fetchFromGitLab {
owner = "marcusbritanicus";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KRywB+Op44N00q9tgO2WNCliRgUDRvrCms1O8JYt62o=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
libarchive
bzip2
zlib
xz
];
meta = with lib; {
description = "A Qt based archiving solution with libarchive backend";
homepage = "https://gitlab.com/marcusbritanicus/libarchive-qt";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}