diff options
author | Bart Brouns <bart@magnetophon.nl> | 2020-02-01 10:01:13 +0100 |
---|---|---|
committer | Bart Brouns <bart@magnetophon.nl> | 2020-02-01 10:12:18 +0100 |
commit | f2e529a167c75ebe53d21db5b9a27caeb66b5af7 (patch) | |
tree | 2a2279d7547f762064231e8c5c7073fb5773e67b /pkgs/applications | |
parent | 8aa347351405f3eb32e4badb0b6fe568844348e5 (diff) |
real_time_config_quick_scan: init at unstable-2020-01-16
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/real_time_config_quick_scan/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/applications/audio/real_time_config_quick_scan/default.nix b/pkgs/applications/audio/real_time_config_quick_scan/default.nix new file mode 100644 index 0000000000000..71ca8c142ad71 --- /dev/null +++ b/pkgs/applications/audio/real_time_config_quick_scan/default.nix @@ -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 ; + }; +} + |