2023-08-22 20:05:09 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitea,
|
|
|
|
lib
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
name = "lcrq";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.1.2";
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "librecast";
|
|
|
|
repo = "lcrq";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-r4UiZ9oNDxF3rHMqg+1NLLjm6LPZtzgtZOs7pRe5SdQ=";
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
changelog = "https://codeberg.org/librecast/lcrq/src/tag/v${finalAttrs.version}/CHANGELOG.md";
|
|
|
|
description = "Librecast RaptorQ library.";
|
|
|
|
homepage = "https://librecast.net/lcrq.html";
|
|
|
|
license = [ lib.licenses.gpl2 lib.licenses.gpl3 ];
|
|
|
|
maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ];
|
2023-10-09 19:29:22 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
|
|
|
})
|