about summary refs log tree commit diff
path: root/pkgs/by-name/li/live555/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/li/live555/package.nix')
-rw-r--r--pkgs/by-name/li/live555/package.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/by-name/li/live555/package.nix b/pkgs/by-name/li/live555/package.nix
index c629ff54ea6f..c558e806db9d 100644
--- a/pkgs/by-name/li/live555/package.nix
+++ b/pkgs/by-name/li/live555/package.nix
@@ -10,7 +10,7 @@
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "live555";
-  version = "2024.08.01";
+  version = "2024.09.20";
 
   src = fetchurl {
     urls = [
@@ -19,18 +19,18 @@ stdenv.mkDerivation (finalAttrs: {
       "https://download.videolan.org/contrib/live555/live.${finalAttrs.version}.tar.gz"
       "mirror://sourceforge/slackbuildsdirectlinks/live.${finalAttrs.version}.tar.gz"
     ];
-    hash = "sha256-g5q3Q30B5in4CU6h7Ix6e7UEx97tnt/J4XrDT5oaGT8=";
+    hash = "sha256-TrUneCGaJJxC+GgL1ZZ/ZcONeqDH05Bp44/3lkCs9tg=";
   };
 
   patches = [
     (fetchpatch {
-      name = "cflags-when-darwin.patch";
+      name = "0000-cflags-when-darwin.patch";
       url = "https://github.com/rgaufman/live555/commit/16701af5486bb3a2d25a28edaab07789c8a9ce57.patch?full_index=1";
       hash = "sha256-IDSdByBu/EBLsUTBe538rWsDwH61RJfAEhvT68Nb9rU=";
     })
   ];
 
-  nativeBuildInputs = lib.optionals stdenv.isDarwin [
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     cctools
   ];
 
@@ -74,9 +74,9 @@ stdenv.mkDerivation (finalAttrs: {
 
   configurePhase = let
     platform =
-      if stdenv.isLinux then
+      if stdenv.hostPlatform.isLinux then
         "linux"
-      else if stdenv.isDarwin then
+      else if stdenv.hostPlatform.isDarwin then
         "macosx-catalina"
       else
         throw "Unsupported platform: ${stdenv.hostPlatform.system}";