Merge pull request #305400 from atorres1985-contrib/live555

live555: 2024.03.08 -> 2024.04.14
This commit is contained in:
Sandro 2024-04-23 22:25:30 +02:00 committed by GitHub
commit 96e0c651cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 14 deletions

View File

@ -1,15 +1,16 @@
{ lib
, darwin
, fetchurl
, fetchpatch
, openssl
, stdenv
, vlc
{
lib,
darwin,
fetchpatch,
fetchurl,
openssl,
stdenv,
vlc,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "live555";
version = "2024.03.08";
version = "2024.04.14";
src = fetchurl {
urls = [
@ -18,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
"https://download.videolan.org/contrib/live555/live.${finalAttrs.version}.tar.gz"
"mirror://sourceforge/slackbuildsdirectlinks/live.${finalAttrs.version}.tar.gz"
];
hash = "sha256-wWUC4EbxxfK+OxXiyNbNMGObVMZOqb+8jTG078pnDeU=";
hash = "sha256-mR5rKGKtTwMq3p+xAAGdo0DNNnIe4KHladLPlnhVhNY=";
};
patches = [
@ -60,11 +61,13 @@ stdenv.mkDerivation (finalAttrs: {
'';
configurePhase = let
platform = if stdenv.isLinux
then "linux"
else if stdenv.isDarwin
then "macosx-catalina"
else throw "Unsupported platform: ${stdenv.hostPlatform.system}";
platform =
if stdenv.isLinux then
"linux"
else if stdenv.isDarwin then
"macosx-catalina"
else
throw "Unsupported platform: ${stdenv.hostPlatform.system}";
in ''
runHook preConfigure