Merge pull request #204164 from SebTM/init/alsa-scarlett-gui

alsa-scarlett-gui: init at unstable-2022-08-11
This commit is contained in:
Maximilian Bosch 2022-12-09 23:28:14 +01:00 committed by GitHub
commit 5c85d89863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, alsa-lib
, gtk4
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "alsa-scarlett-gui";
version = "unstable-2022-08-11";
src = fetchFromGitHub {
owner = "geoffreybennett";
repo = pname;
rev = "65c0f6aa432501355803a823be1d3f8aafe907a8";
sha256 = "sha256-wzBOPTs8PTHzu5RpKwKhx552E7QnDx2Zn4OFaes8Q2I=";
};
makeFlags = [ "DESTDIR=\${out}" "PREFIX=''" ];
sourceRoot = "source/src";
nativeBuildInputs = [ pkg-config wrapGAppsHook4 ];
buildInputs = [ gtk4 alsa-lib ];
meta = with lib; {
description = "GUI for alsa controls presented by Focusrite Scarlett Gen 2/3 Mixer Driver";
homepage = "https://github.com/geoffreybennett/alsa-scarlett-gui";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sebtm ];
platforms = platforms.linux;
};
}

View File

@ -38182,4 +38182,6 @@ with pkgs;
aitrack = libsForQt5.callPackage ../applications/misc/aitrack { };
widevine-cdm = callPackage ../applications/networking/browsers/misc/widevine-cdm.nix { };
alsa-scarlett-gui = callPackage ../applications/audio/alsa-scarlett-gui { };
}