30 lines
747 B
Nix
30 lines
747 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "iir1";
|
|
version = "1.9.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "berndporr";
|
|
repo = "iir1";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-8u+V3+p/nVfl1Izht27OE6D1kkA6all6aUEL9APwXmk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
homepage = "https://berndporr.github.io/iir1/";
|
|
description = "DSP IIR realtime filter library written in C++";
|
|
downloadPage = "https://github.com/berndporr/iir1";
|
|
changelog = "https://github.com/berndporr/iir1/releases/tag/${finalAttrs.src.rev}";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|