30 lines
674 B
Nix
30 lines
674 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
stdenv,
|
||
|
|
fetchFromGitHub,
|
||
|
|
cmake,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenv.mkDerivation rec {
|
||
|
|
pname = "serialdv";
|
||
|
|
version = "1.1.5";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "f4exb";
|
||
|
|
repo = "serialdv";
|
||
|
|
rev = "v${version}";
|
||
|
|
sha256 = "sha256-uswddoIpTXqsvjM2/ygdud9jZHTemLn9Dlv9FBXXKow=";
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [ cmake ];
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "C++ Minimal interface to encode and decode audio with AMBE3000 based devices in packet mode over a serial link";
|
||
|
|
mainProgram = "dvtest";
|
||
|
|
homepage = "https://github.com/f4exb/serialdv";
|
||
|
|
platforms = platforms.unix;
|
||
|
|
maintainers = with maintainers; [ alkeryn ];
|
||
|
|
license = licenses.gpl3;
|
||
|
|
};
|
||
|
|
}
|