{ stdenv , fetchFromGitHub , buildGoModule }: buildGoModule rec { pname = "rtsp-simple-server"; version = "0.12.0"; src = fetchFromGitHub { owner = "aler9"; repo = pname; rev = "v${version}"; sha256 = "0mslag208410bvnhnd5hr7zvj8026m291ivkvr9sz3v6rh68cisy"; }; vendorSha256 = "1884lbfsalry68m0kzfvbrk4dz9y19d2xxaivafwb7nc0wp64734"; # Tests need docker doCheck = false; buildFlagsArray = [ "-ldflags=-X main.Version=${version}" ]; meta = with stdenv.lib; { description = "Ready-to-use RTSP server and RTSP proxy that allows to read and publish video and audio streams" ; inherit (src.meta) homepage; license = licenses.mit; maintainers = with maintainers; [ doronbehar ]; }; }