Merge pull request #78998 from magnetophon/real_time_config_quick_scan

real_time_config_quick_scan: init at unstable-2020-01-16
This commit is contained in:
Mario Rodas 2020-07-30 07:58:01 -05:00 committed by GitHub
commit a4d5f9ff5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ stdenv, fetchFromGitHub, perlPackages, makeWrapper }:
stdenv.mkDerivation rec {
pname = "realTimeConfigQuickScan";
version = "unstable-2020-08-03";
src = fetchFromGitHub {
owner = "raboof";
repo = pname;
rev = "4b482db17f8d8567ba0abf33459ceb5f756f088c";
sha256 = "00l69gzwla9gjv5kpklgxlwnl48wnh8h6w0k8i69qr2cxigg4rhj";
};
buildInputs = [ perlPackages.perl makeWrapper ];
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/share/doc
# Install Script Files:
# *.pm files
for i in *.pm; do
install -Dm 755 "$i" "$out/share/$i"
done
# Install doc files:
install -D COPYING "$out/share/doc/COPYING"
install -D README.md "$out/share/doc/README.md"
# Install Executable scripts:
install -Dm 755 realTimeConfigQuickScan.pl "$out/bin/realTimeConfigQuickScan"
install -Dm 755 QuickScan.pl "$out/bin/QuickScan"
wrapProgram $out/bin/realTimeConfigQuickScan \
--set PERL5LIB "$out/share"
wrapProgram $out/bin/QuickScan \
--set PERL5LIB "$out/share:${with perlPackages; makePerlPath [ Tk ]}"
'';
meta = with stdenv.lib; {
description = "Linux configuration checker for systems to be used for real-time audio";
homepage = "https://github.com/raboof/realtimeconfigquickscan";
license = licenses.gpl2;
maintainers = with maintainers; [ magnetophon ];
platforms = platforms.linux ;
};
}

View File

@ -6360,6 +6360,9 @@ in
rdma-core = callPackage ../os-specific/linux/rdma-core { };
real_time_config_quick_scan = callPackage ../applications/audio/real_time_config_quick_scan { };
react-native-debugger = callPackage ../development/tools/react-native-debugger { };
read-edid = callPackage ../os-specific/linux/read-edid { };