mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
clap: init at 1.1.8
This commit is contained in:
parent
4179372632
commit
0ee36e16a3
32
pkgs/development/libraries/clap/default.nix
Normal file
32
pkgs/development/libraries/clap/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clap";
|
||||
version = "1.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "free-audio";
|
||||
repo = "clap";
|
||||
rev = version;
|
||||
hash = "sha256-UY6HSth3xuXVfiKolttpYf19rZ2c/X1FXHV7TA/hAiM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace clap.pc.in \
|
||||
--replace '$'"{prefix}/@CMAKE_INSTALL_INCLUDEDIR@" '@CMAKE_INSTALL_FULL_INCLUDEDIR@'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clever Audio Plugin API interface headers";
|
||||
homepage = "https://cleveraudio.org/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
}
|
@ -20522,6 +20522,8 @@ with pkgs;
|
||||
|
||||
clanlib = callPackage ../development/libraries/clanlib { };
|
||||
|
||||
clap = callPackage ../development/libraries/clap { };
|
||||
|
||||
classads = callPackage ../development/libraries/classads { };
|
||||
|
||||
clfft = callPackage ../development/libraries/clfft { };
|
||||
|
Loading…
Reference in New Issue
Block a user