about summary refs log tree commit diff
path: root/pkgs/by-name/du/dune3d/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/du/dune3d/package.nix')
-rw-r--r--pkgs/by-name/du/dune3d/package.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/by-name/du/dune3d/package.nix b/pkgs/by-name/du/dune3d/package.nix
index 122a9691c53b..01d3d45a7817 100644
--- a/pkgs/by-name/du/dune3d/package.nix
+++ b/pkgs/by-name/du/dune3d/package.nix
@@ -24,18 +24,18 @@
 }:
 
 let
-  stdenv' = if stdenv.isDarwin then llvmPackages_17.stdenv else stdenv;
+  stdenv' = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv;
   opencascade-occt = opencascade-occt_7_6;
 in
 stdenv'.mkDerivation (finalAttrs: {
   pname = "dune3d";
-  version = "1.1.0";
+  version = "1.2.0";
 
   src = fetchFromGitHub {
     owner = "dune3d";
     repo = "dune3d";
     rev = "v${finalAttrs.version}";
-    hash = "sha256-Z/kdOc/MbnnEyRsel3aZGndTAy1eCdAK0Wdta0HxaE4=";
+    hash = "sha256-oS10xek4IyRrjZTBvDsjqCA9NE93vzB0W9iQEm2IMf4=";
   };
 
   nativeBuildInputs = [
@@ -45,7 +45,7 @@ stdenv'.mkDerivation (finalAttrs: {
     pkg-config
     wrapGAppsHook3
     libxml2 # for xmllints
-  ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
 
   buildInputs = [
     cmake
@@ -55,7 +55,7 @@ stdenv'.mkDerivation (finalAttrs: {
     libepoxy
     librsvg
     libspnav
-    (if stdenv.isLinux then libuuid else libossp_uuid)
+    (if stdenv.hostPlatform.isLinux then libuuid else libossp_uuid)
     opencascade-occt
     (python3.withPackages (pp: [
       pp.pygobject3