about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-09-01 00:11:09 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-09-01 13:31:41 +0000
commit9870f334cbf2f822d273eba1cd05ef061d21d46a (patch)
tree7ae1bf37d077bf2817903659726c768d8b86244e /pkgs/applications/graphics
parent7b19fde30783fe9f306e674b9376b4661cb169b3 (diff)
freecad: 0.21.0 -> 0.21.1
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/freecad/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/applications/graphics/freecad/default.nix b/pkgs/applications/graphics/freecad/default.nix
index 584ad0e79f4f3..f997f23d43cfd 100644
--- a/pkgs/applications/graphics/freecad/default.nix
+++ b/pkgs/applications/graphics/freecad/default.nix
@@ -1,7 +1,6 @@
 { lib
 , fmt
 , stdenv
-, mkDerivation
 , fetchFromGitHub
 , cmake
 , doxygen
@@ -48,15 +47,15 @@
 , zlib
 }:
 
-mkDerivation rec {
+stdenv.mkDerivation (finalAttrs: {
   pname = "freecad";
-  version = "0.21.0";
+  version = "0.21.1";
 
   src = fetchFromGitHub {
     owner = "FreeCAD";
     repo = "FreeCAD";
-    rev = version;
-    hash = "sha256-m/0CUVDjlGIkh2AM8qdWAMuH/LVlfILqYybWY0KLT4g=";
+    rev = finalAttrs.version;
+    hash = "sha256-rwt81Z+Bp8uZlR4iuGQEDKBu/Dr9Rqg7d9SsCdofTUU=";
   };
 
   nativeBuildInputs = [
@@ -147,7 +146,7 @@ mkDerivation rec {
     ln -s $out/bin/FreeCADCmd $out/bin/freecadcmd
   '';
 
-  meta = with lib; {
+  meta = {
     homepage = "https://www.freecad.org";
     description = "General purpose Open Source 3D CAD/MCAD/CAx/CAE/PLM modeler";
     longDescription = ''
@@ -166,8 +165,8 @@ mkDerivation rec {
       programmer, an experienced CAD user, a student or a teacher, you will feel
       right at home with FreeCAD.
     '';
-    license = licenses.lgpl2Plus;
-    maintainers = with maintainers; [ viric gebner AndersonTorres ];
-    platforms = platforms.linux;
+    license = lib.licenses.lgpl2Plus;
+    maintainers = with lib.maintainers; [ viric gebner AndersonTorres ];
+    platforms = lib.platforms.linux;
   };
-}
+})