Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 718a937118ea
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 99255f73b58c
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jun 6, 2019

  1. Copy the full SHA
    01c3710 View commit details
  2. Merge pull request #62509 from davidak/phoronix-test-suite

    phoronix-test-suite: init at 8.8.1
    markuskowa authored Jun 6, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    99255f7 View commit details
Showing with 31 additions and 0 deletions.
  1. +29 −0 pkgs/tools/misc/phoronix-test-suite/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
29 changes: 29 additions & 0 deletions pkgs/tools/misc/phoronix-test-suite/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchurl, php, which, gnused, makeWrapper, gnumake, gcc }:

stdenv.mkDerivation rec {
name = "phoronix-test-suite-${version}";
version = "8.8.1";

src = fetchurl {
url = "https://phoronix-test-suite.com/releases/${name}.tar.gz";
sha256 = "1l5wnj5d652dg02j7iy7n9ab7qrpclmgvyxnh1s6cdnnnspyxznn";
};

buildInputs = [ php ];
nativeBuildInputs = [ which gnused makeWrapper ];

installPhase = ''
./install-sh $out
wrapProgram $out/bin/phoronix-test-suite \
--set PHP_BIN ${php}/bin/php \
--prefix PATH : ${stdenv.lib.makeBinPath [ gnumake gcc ]}
'';

meta = with stdenv.lib; {
description = "Open-Source, Automated Benchmarking";
homepage = https://www.phoronix-test-suite.com/;
maintainers = with maintainers; [ davidak ];
license = licenses.gpl3;
platforms = with platforms; unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -1750,6 +1750,8 @@ in

pev = callPackage ../development/tools/analysis/pev { };

phoronix-test-suite = callPackage ../tools/misc/phoronix-test-suite { };

photon = callPackage ../tools/networking/photon { };

playerctl = callPackage ../tools/audio/playerctl { };