nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 30 lines 739 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "iir1"; 10 version = "1.10.0"; 11 12 src = fetchFromGitHub { 13 owner = "berndporr"; 14 repo = "iir1"; 15 rev = finalAttrs.version; 16 hash = "sha256-WrefRcC6pOpcWVVOtJbJiyllgCPMm9cdlK6eXB2gxFw="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = { 22 homepage = "https://berndporr.github.io/iir1/"; 23 description = "DSP IIR realtime filter library written in C++"; 24 downloadPage = "https://github.com/berndporr/iir1"; 25 changelog = "https://github.com/berndporr/iir1/releases/tag/${finalAttrs.src.rev}"; 26 license = with lib.licenses; [ mit ]; 27 maintainers = with lib.maintainers; [ ]; 28 platforms = lib.platforms.unix; 29 }; 30})