Unverified Commit 779d4ec9 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

cameradar: migrate to finalAttrs

parent 2ebca7b3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -6,14 +6,14 @@
  pkg-config,
}:

buildGoModule rec {
buildGoModule (finalAttrs: {
  pname = "cameradar";
  version = "6.0.0";

  src = fetchFromGitHub {
    owner = "Ullaakut";
    repo = "cameradar";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-cWxclfu0ywmqKnBxsaWWz2sMFExC5Dcrf+rceAhIW2U=";
  };

@@ -28,8 +28,8 @@ buildGoModule rec {
  meta = {
    description = "RTSP stream access tool";
    homepage = "https://github.com/Ullaakut/cameradar";
    changelog = "https://github.com/Ullaakut/cameradar/releases/tag/${src.tag}";
    changelog = "https://github.com/Ullaakut/cameradar/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})