10 # Upstream replaces minor versions, so use archived URLs.
12 x86_64-linux = fetchurl {
13 url = "https://web.archive.org/web/20240612193642id_/https://ftp.perforce.com/perforce/r24.2/bin.linux26x86_64/p4v.tgz";
14 sha256 = "sha256-HA99fHcmgli/vVnr0M8ZJEsaZ2ZLzpG3M8S77oDYJyE=";
16 aarch64-darwin = fetchurl {
17 url = "https://web.archive.org/web/20240612194532id_/https://ftp.perforce.com/perforce/r24.2/bin.macosx12u/P4V.dmg";
18 sha256 = "sha256-PS7gfDdWspyL//YWLkrsGi5wh6SIeAry2yef1/V0d6o=";
21 x86_64-darwin = aarch64-darwin;
25 if stdenv.hostPlatform.isDarwin then
26 callPackage ./darwin.nix { }
28 qt6Packages.callPackage ./linux.nix { };
32 version = "2024.2/2606884";
35 srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
38 description = "Perforce Helix Visual Client";
39 homepage = "https://www.perforce.com";
40 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
41 license = lib.licenses.unfreeRedistributable;
42 platforms = builtins.attrNames srcs;
43 maintainers = with lib.maintainers; [