rt-tests: init at 2.3 (#172330)

Co-authored-by: Mustafa Çalışkan <96225281+muscaln@users.noreply.github.com>
main
Daniel Poelzleithner 2 years ago committed by GitHub
parent f181d591ce
commit d93a587732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      maintainers/maintainer-list.nix
  2. 34
      pkgs/os-specific/linux/rt-tests/default.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -10128,6 +10128,12 @@
githubId = 81340136;
name = "polykernel";
};
poelzi = {
email = "nix@poelzi.org";
github = "poelzi";
githubId = 66107;
name = "Daniel Poelzleithner";
};
polyrod = {
email = "dc1mdp@gmail.com";
github = "polyrod";

@ -0,0 +1,34 @@
{ stdenv
, lib
, makeWrapper
, fetchurl
, numactl
, python3
}:
stdenv.mkDerivation rec {
pname = "rt-tests";
version = "2.3";
src = fetchurl {
url = "https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/${pname}-${version}.tar.gz";
sha256 = "Q+rNdpRdsmW2gcsrfwg12EzpvO6qlEP/Mb/OWQMNmr8=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ numactl python3 ];
makeFlags = [ "prefix=$(out)" "DESTDIR=" "PYLIB=$(out)/${python3.sitePackages}" ];
postInstall = ''
wrapProgram "$out/bin/determine_maximum_mpps.sh" --prefix PATH : $out/bin
'';
meta = with lib; {
homepage = https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;
description = "Suite of real-time tests - cyclictest, hwlatdetect, pip_stress, pi_stress, pmqtest, ptsematest, rt-migrate-test, sendme, signaltest, sigwaittest, svsematest";
platforms = platforms.linux;
maintainers = with maintainers; [ poelzi ];
license = licenses.gpl2;
};
}

@ -23667,6 +23667,8 @@ with pkgs;
rtkit = callPackage ../os-specific/linux/rtkit { };
rt-tests = callPackage ../os-specific/linux/rt-tests { };
rt5677-firmware = callPackage ../os-specific/linux/firmware/rt5677 { };
rtl8192su-firmware = callPackage ../os-specific/linux/firmware/rtl8192su-firmware { };

Loading…
Cancel
Save