try to package neolink
This commit is contained in:
parent
c38e197482
commit
76285643d8
|
@ -15,4 +15,6 @@ self: super: {
|
||||||
nginxModules = super.recurseIntoAttrs (super.callPackage ./nginx/modules.nix { });
|
nginxModules = super.recurseIntoAttrs (super.callPackage ./nginx/modules.nix { });
|
||||||
|
|
||||||
libedgetpu = self.callPackage ./libedgetpu {};
|
libedgetpu = self.callPackage ./libedgetpu {};
|
||||||
|
|
||||||
|
neolink = self.callPackage ./neolink.nix {};
|
||||||
}
|
}
|
41
neolink.nix
Normal file
41
neolink.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
,fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, pkg-config
|
||||||
|
, gst_all_1
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
version = "0.6.2";
|
||||||
|
pname = "neolink";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "QuantumEntangledAndy";
|
||||||
|
repo = "neolink";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-O+CbxK0phdRFcPH+ELjxd5Ad5eZWz/FZrmnGvkFv1b8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
|
gst_all_1.gst-plugins-bad
|
||||||
|
gst_all_1.gst-rtsp-server
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
|
gst_all_1.gst-plugins-bad
|
||||||
|
gst_all_1.gst-rtsp-server
|
||||||
|
];
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-Y82G/gk7VE2q0DZdZoEkDT+Iye/nqixauKir3dW7tCg=";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/QuantumEntangledAndy/neolink";
|
||||||
|
description = " An RTSP bridge to Reolink IP cameras ";
|
||||||
|
license = lib.licenses.agpl3;
|
||||||
|
maintainers = with lib.maintainers; [ fleaz ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue