mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #141251 from fabaff/cameradar
This commit is contained in:
commit
5d168d84d0
2 changed files with 43 additions and 0 deletions
41
pkgs/tools/security/cameradar/default.nix
Normal file
41
pkgs/tools/security/cameradar/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, curl
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cameradar";
|
||||
version = "5.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ullaakut";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "03nm03cqhq04ixw4rssfkgrin918pa0v7ai26v4h99gz7j8hs7ll";
|
||||
};
|
||||
|
||||
vendorSha256 = "099np130dn51nb4lcyrrm46fihfipxrw0vpqs2jh5g4c6pnbk200";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2279,6 +2279,8 @@ with pkgs;
|
|||
|
||||
calendar-cli = callPackage ../tools/networking/calendar-cli { };
|
||||
|
||||
cameradar = callPackage ../tools/security/cameradar { };
|
||||
|
||||
candle = libsForQt5.callPackage ../applications/misc/candle { };
|
||||
|
||||
capstone = callPackage ../development/libraries/capstone { };
|
||||
|
|
Loading…
Reference in a new issue