evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ca / cameradar / package.nix
blobdae3565813c682b3bc9e4cdd8986136aa302586b
1 { lib
2 , buildGoModule
3 , curl
4 , fetchFromGitHub
5 , pkg-config
6 }:
8 buildGoModule rec {
9   pname = "cameradar";
10   version = "5.0.2";
12   src = fetchFromGitHub {
13     owner = "Ullaakut";
14     repo = pname;
15     rev = "v${version}";
16     sha256 = "sha256-GOqmz/aiOLGMfs9rQBIEQSgBycPzhu8BohcAc2U+gBw=";
17   };
19   vendorHash = "sha256-AIi57DWMvAKl0PhuwHO/0cHoDKk5e0bJsqHYBka4NiU=";
21   nativeBuildInputs = [
22     pkg-config
23   ];
25   buildInputs = [
26     curl
27   ];
29   subPackages = [
30     "cmd/cameradar"
31   ];
32   # At least one test is outdated
33   #doCheck = false;
35   meta = with lib; {
36     description = "RTSP stream access tool";
37     homepage = "https://github.com/Ullaakut/cameradar";
38     changelog = "https://github.com/Ullaakut/cameradar/releases/tag/v${version}";
39     license = with licenses; [ mit ];
40     maintainers = with maintainers; [ fab ];
41     # Upstream issue, doesn't build with latest curl, see
42     # https://github.com/Ullaakut/cameradar/issues/320
43     # https://github.com/andelf/go-curl/issues/84
44     broken = true;
45   };