p4: 2020.1.2007551 -> 2021.2.220112

This commit is contained in:
Jörg Thalheim 2021-12-28 11:24:47 +01:00
parent e93876e3b4
commit ce50269b2f

View file

@ -2,11 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "p4"; pname = "p4";
version = "2020.1.2007551"; version = "2021.2.2201121";
src = fetchurl { src = fetchurl {
url = "https://cdist2.perforce.com/perforce/r20.1/bin.linux26x86_64/helix-core-server.tgz"; # actually https://cdist2.perforce.com/perforce/r21.2/bin.linux26x86_64/helix-core-server.tgz but upstream deletes releases
sha256 = "0ly9b838zrpp6841fzapizdd3xmria55bwfrh2j29qwxiwzqj80y"; url = "http://web.archive.org/web/20211118024943/https://cdist2.perforce.com/perforce/r21.2/bin.linux26x86_64/helix-core-server.tgz";
sha256 = "sha256-cmIMVek4lwVYJQbW8ziABftPZ0iIoAoSpR7cKuN4I7M=";
}; };
sourceRoot = "."; sourceRoot = ".";
@ -16,8 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoPatchelfHook ]; nativeBuildInputs = [ autoPatchelfHook ];
installPhase = '' installPhase = ''
mkdir -p $out/bin install -D --target $out/bin p4 p4broker p4d p4p
cp p4 p4broker p4d p4p $out/bin
''; '';
meta = { meta = {