depot/third_party/nixpkgs/pkgs/tools/security/cameradar/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

41 lines
757 B
Nix

{ lib
, buildGoModule
, curl
, fetchFromGitHub
, pkg-config
}:
buildGoModule rec {
pname = "cameradar";
version = "5.0.2";
src = fetchFromGitHub {
owner = "Ullaakut";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GOqmz/aiOLGMfs9rQBIEQSgBycPzhu8BohcAc2U+gBw=";
};
vendorSha256 = "sha256-AIi57DWMvAKl0PhuwHO/0cHoDKk5e0bJsqHYBka4NiU=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
curl
];
subPackages = [
"cmd/cameradar"
];
# At least one test is outdated
#doCheck = false;
meta = with lib; {
description = "RTSP stream access tool";
homepage = "https://github.com/Ullaakut/cameradar";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}