Merge pull request #238974 from NickCao/ustreamer

This commit is contained in:
Franz Pletz 2023-06-21 20:00:24 +02:00 committed by GitHub
commit b6085ae748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,23 +2,20 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ustreamer"; pname = "ustreamer";
version = "5.38"; version = "5.41";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pikvm"; owner = "pikvm";
repo = "ustreamer"; repo = "ustreamer";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-pc1Pf8KnjGPb74GbcmHaj/XCD0wjgiglaAKjnZUa6Ag="; hash = "sha256-N70wBKiKfOhlAR9qOSkc6dlO44lJXHWiUYb8nwXMKxo=";
}; };
buildInputs = [ libbsd libevent libjpeg ]; buildInputs = [ libbsd libevent libjpeg ];
enableParallelBuilding = true; makeFlags = [ "PREFIX=${placeholder "out"}" ];
installPhase = '' enableParallelBuilding = true;
mkdir -p $out/bin
cp ustreamer $out/bin/
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/pikvm/ustreamer"; homepage = "https://github.com/pikvm/ustreamer";