git.iko.soy/typeable/nixpkgs
on master help sign in
p4: init at 2020.1.1991450 (#95103)
commit348051b40ab31863f40ea7cac06005b4af228163 authorDavid McFarland <corngood@gmail.com> dateFri 21 Aug 2020, 13:37 (6 years ago) parentddea9ac
2 files changed+31
pkgs/applications/version-management/p4/default.nix+30 pkgs/top-level/all-packages.nix+1
pkgs/applications/version-management/p4/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv, fetchurl, lib, autoPatchelfHook }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "p4";
5+ version = "2020.1.1991450";
6+
7+ src = fetchurl {
8+ url = "https://cdist2.perforce.com/perforce/r20.1/bin.linux26x86_64/helix-core-server.tgz";
9+ sha256 = "0nhcxhwx3scx6vf7i2bc8j0b1l57lmq9bfy1cfbfbqasd3an721k";
10+ };
11+
12+ sourceRoot = ".";
13+
14+ dontBuild = true;
15+
16+ nativeBuildInputs = [ autoPatchelfHook ];
17+
18+ installPhase = ''
19+ mkdir -p $out/bin
20+ cp p4 p4broker p4d p4p $out/bin
21+ '';
22+
23+ meta = {
24+ description = "Perforce Command-Line Client";
25+ homepage = "https://www.perforce.com";
26+ license = lib.licenses.unfree;
27+ platforms = [ "x86_64-linux" ];
28+ maintainers = with lib.maintainers; [ corngood ];
29+ };
30+}
pkgs/top-level/all-packages.nix+1
@@ -21758,6 +21758,7 @@ in
2175821758
2175921759 ostinato = callPackage ../applications/networking/ostinato { };
2176021760
21761+ p4 = callPackage ../applications/version-management/p4 { };
2176121762 p4v = libsForQt5.callPackage ../applications/version-management/p4v { };
2176221763
2176321764 partio = callPackage ../development/libraries/partio {};