clap: add meta.pkgConfigModules and testers.hasPkgConfigModules
This commit is contained in:
parent
cc36b995f0
commit
28762e23a1
1 changed files with 7 additions and 3 deletions
|
@ -2,16 +2,17 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, testers
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clap";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "free-audio";
|
||||
repo = "clap";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-BNT2yWIlWk8kzhZteh7TaamliwJI+lzWVs/8XCFsuUc=";
|
||||
};
|
||||
|
||||
|
@ -22,11 +23,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
passthru.tests.pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clever Audio Plugin API interface headers";
|
||||
homepage = "https://cleveraudio.org/";
|
||||
pkgConfigModules = [ "clap" ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue