alsa-lib: provide update script & remove with lib; (#428067)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
alsa-topology-conf,
|
||||
alsa-ucm-conf,
|
||||
testers,
|
||||
directoryListingUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -36,9 +37,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"dev"
|
||||
];
|
||||
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
passthru = {
|
||||
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
updateScript = directoryListingUpdater {
|
||||
url = "https://www.alsa-project.org/files/pub/lib/";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "http://www.alsa-project.org/";
|
||||
description = "ALSA, the Advanced Linux Sound Architecture libraries";
|
||||
mainProgram = "aserver";
|
||||
@@ -48,12 +54,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
MIDI functionality to the Linux-based operating system.
|
||||
'';
|
||||
|
||||
license = licenses.lgpl21Plus;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
pkgConfigModules = [
|
||||
"alsa"
|
||||
"alsa-topology"
|
||||
];
|
||||
platforms = platforms.linux ++ platforms.freebsd;
|
||||
maintainers = with maintainers; [ l-as ];
|
||||
platforms = with lib.platforms; linux ++ freebsd;
|
||||
maintainers = with lib.maintainers; [ l-as ];
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user