base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / al / alsa-ucm-conf / package.nix
blob462f9d3eea16bb484c5796fb65d8ab099e918e40
2   directoryListingUpdater,
3   fetchurl,
4   lib,
5   stdenv,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "alsa-ucm-conf";
10   version = "1.2.12";
12   src = fetchurl {
13     url = "mirror://alsa/lib/alsa-ucm-conf-${version}.tar.bz2";
14     hash = "sha256-Fo58BUm3v4mRCS+iv7kDYx33edxMQ+6PQnf8t3LYwDU=";
15   };
17   dontBuild = true;
19   installPhase = ''
20     runHook preInstall
22     mkdir -p $out/share/alsa
23     cp -r ucm ucm2 $out/share/alsa
25     runHook postInstall
26   '';
28   passthru.updateScript = directoryListingUpdater {
29     url = "https://www.alsa-project.org/files/pub/lib/";
30   };
32   meta = with lib; {
33     homepage = "https://www.alsa-project.org/";
34     description = "ALSA Use Case Manager configuration";
36     longDescription = ''
37       The Advanced Linux Sound Architecture (ALSA) provides audio and
38       MIDI functionality to the Linux-based operating system.
39     '';
41     license = licenses.bsd3;
42     maintainers = [ maintainers.roastiek ];
43     platforms = platforms.linux;
44   };