mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
Merge pull request #238974 from NickCao/ustreamer
This commit is contained in:
commit
b6085ae748
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user