2021-08-05 21:33:18 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitLab, libarchive, xz, zlib, bzip2, cmake, ninja }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "libarchive-qt";
|
2021-09-28 08:13:01 +00:00
|
|
|
version = "2.0.6";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "marcusbritanicus";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-28 08:13:01 +00:00
|
|
|
sha256 = "sha256-Z+2zjQolV1Ncr6v9r7fGrc/fEMt0iMtGwv9eZ2Tu2cA=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|