nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 47 lines 888 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 qt6, 6 libarchive, 7 libarchive-qt, 8 cmake, 9 ninja, 10 libcprime, 11 libcsys, 12}: 13 14stdenv.mkDerivation (finalAttrs: { 15 pname = "corearchiver"; 16 version = "5.0.0"; 17 18 src = fetchFromGitLab { 19 owner = "cubocore/coreapps"; 20 repo = "corearchiver"; 21 tag = "v${finalAttrs.version}"; 22 hash = "sha256-+XaBe1fNpAQf3cqXV+A1cZ1tPck3bCpgEDmFeF536q4="; 23 }; 24 25 nativeBuildInputs = [ 26 cmake 27 ninja 28 qt6.wrapQtAppsHook 29 ]; 30 31 buildInputs = [ 32 qt6.qtbase 33 libarchive-qt 34 libarchive 35 libcprime 36 libcsys 37 ]; 38 39 meta = { 40 description = "Archiver from the C Suite to create and extract archives"; 41 mainProgram = "corearchiver"; 42 homepage = "https://gitlab.com/cubocore/coreapps/corearchiver"; 43 license = lib.licenses.gpl3Plus; 44 maintainers = with lib.maintainers; [ ]; 45 platforms = lib.platforms.linux; 46 }; 47})