diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-11 13:28:57 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-11 13:28:57 +0200 |
commit | e2b2b59a4d9021937b70b6fab6d64c1d1e335327 (patch) | |
tree | c7ab9b8572915ad552b59aea3fe0bda7e094ed8d /pkgs/tools/security/cameradar | |
parent | 80d606efb79adc59caba44dc31706efc993a1878 (diff) |
cameradar: init at 5.0.1
Diffstat (limited to 'pkgs/tools/security/cameradar')
-rw-r--r-- | pkgs/tools/security/cameradar/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/tools/security/cameradar/default.nix b/pkgs/tools/security/cameradar/default.nix new file mode 100644 index 0000000000000..569be38ee28a5 --- /dev/null +++ b/pkgs/tools/security/cameradar/default.nix @@ -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 ]; + }; +} |