heroic: use qt6 version of kdialog (#372495)
[NixPkgs.git] / pkgs / by-name / ti / tinyalsa / package.nix
blobe21bf9f0b884765061acd885539a6bc7dfdae324
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "tinyalsa";
10   version = "unstable-2022-06-05";
12   src = fetchFromGitHub {
13     owner = "tinyalsa";
14     repo = "tinyalsa";
15     rev = "3d70d227e7dfd1be6f8f420a5aae164a2b4126e0";
16     hash = "sha256-RHeF3VShy+LYFtJK+AEU7swIr5/rnpg2fdllnH9cFCk=";
17   };
19   nativeBuildInputs = [
20     cmake
21   ];
23   cmakeFlags = [
24     "-DTINYALSA_USES_PLUGINS=ON"
25   ];
27   env.NIX_CFLAGS_COMPILE = toString [
28     "-Wno-error=sign-compare"
29   ];
31   meta = with lib; {
32     homepage = "https://github.com/tinyalsa/tinyalsa";
33     description = "Tiny library to interface with ALSA in the Linux kernel";
34     license = licenses.mit;
35     maintainers = with maintainers; [ ];
36     platforms = with platforms; linux;
37   };