Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
865 B
Nix
47 lines
865 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
udev,
|
|
protobuf,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "codecserver";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jketterl";
|
|
repo = "codecserver";
|
|
rev = version;
|
|
sha256 = "sha256-JzaVBFl3JsFNDm4gy1qOKA9uAjUjNeMiI39l5gfH0aE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
udev
|
|
];
|
|
|
|
propagatedBuildInputs = [ protobuf ];
|
|
|
|
postFixup = ''
|
|
substituteInPlace "$out"/lib/pkgconfig/codecserver.pc \
|
|
--replace-fail '=''${prefix}//' '=/' \
|
|
--replace-fail '=''${exec_prefix}//' '=/'
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jketterl/codecserver";
|
|
description = "Modular audio codec server";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.unix;
|
|
mainProgram = "codecserver";
|
|
};
|
|
}
|