neolink WIP

This commit is contained in:
fleaz 2023-12-27 22:40:04 +01:00
parent bacdc85aa3
commit 88ce2e6a5f
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -3,17 +3,19 @@
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, gst_all_1 , gst_all_1
, openssl
, protobuf
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
version = "0.6.2"; version = "unstable-2013-10-28";
pname = "neolink"; pname = "neolink";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "QuantumEntangledAndy"; owner = "QuantumEntangledAndy";
repo = "neolink"; repo = "neolink";
rev = "v${version}"; rev = "4a94a2ddb29bed207307eb2de744748190e8577f";
hash = "sha256-O+CbxK0phdRFcPH+ELjxd5Ad5eZWz/FZrmnGvkFv1b8="; hash = "sha256-+yIjNcrd7TZx4eTc4u1SCDDmwXwGYUI90NPTtgkbXec=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -21,13 +23,19 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
openssl
protobuf
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-bad
gst_all_1.gst-rtsp-server gst_all_1.gst-rtsp-server
]; ];
cargoSha256 = "sha256-Y82G/gk7VE2q0DZdZoEkDT+Iye/nqixauKir3dW7tCg="; # needed for internal protobuf c wrapper library
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
cargoHash = "sha256-Cea110RJc3q6J1lclFOvR1ETR0yvNeD5/S4PuxRLmvk=";
meta = with lib; { meta = with lib; {
homepage = "https://github.com/QuantumEntangledAndy/neolink"; homepage = "https://github.com/QuantumEntangledAndy/neolink";