3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #152439 from Mic92/p4

p4: 2020.1.2007551 -> 2021.2.220112
This commit is contained in:
Jörg Thalheim 2021-12-31 15:04:31 +00:00 committed by GitHub
commit 77b45a11db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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