mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
camilladsp: init at 3.0.1
This commit is contained in:
parent
cfbc694c82
commit
222b02efef
2 changed files with 3540 additions and 0 deletions
3483
pkgs/by-name/ca/camilladsp/Cargo.lock
generated
Normal file
3483
pkgs/by-name/ca/camilladsp/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
57
pkgs/by-name/ca/camilladsp/package.nix
Normal file
57
pkgs/by-name/ca/camilladsp/package.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
libpulseaudio,
|
||||
openssl,
|
||||
stdenv,
|
||||
alsa-lib,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "camilladsp";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HEnquist";
|
||||
repo = "camilladsp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-IJ1sYprBh8ys1Og3T3newIDlBlR0PoQiblbJmzLbsfs=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libpulseaudio
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isLinux [ alsa-lib ];
|
||||
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; };
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
meta = {
|
||||
description = "Flexible cross-platform IIR and FIR engine for crossovers, room correction etc";
|
||||
homepage = "https://github.com/HEnquist/camilladsp";
|
||||
changelog = "https://github.com/HEnquist/camilladsp/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ paepcke ];
|
||||
mainProgram = "camilladsp";
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue