hiksink: Migrate to by-name (#396922)

This commit is contained in:
Weijia Wang
2025-04-09 09:06:21 +02:00
committed by GitHub
2 changed files with 6 additions and 16 deletions
@@ -1,10 +1,8 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
pkg-config,
Security,
openssl,
}:
@@ -26,19 +24,15 @@ rustPlatform.buildRustPackage rec {
pkg-config
];
buildInputs =
[
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Security
];
buildInputs = [
openssl
];
meta = with lib; {
meta = {
description = "Tool to convert Hikvision camera events to MQTT";
homepage = "https://github.com/CornerBit/HikSink";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "hik_sink";
};
}
-4
View File
@@ -2494,10 +2494,6 @@ with pkgs;
buildGoModule = buildGo123Module;
};
hiksink = callPackage ../tools/misc/hiksink {
inherit (darwin.apple_sdk.frameworks) Security;
};
hocr-tools = with python3Packages; toPythonApplication hocr-tools;
hopper = qt5.callPackage ../development/tools/analysis/hopper { };