blob: 569be38ee28a5988e61e34f02a470091880e3c0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 ];
};
}
|