about summary refs log tree commit diff
path: root/pkgs/applications/science/logic/uhdm
diff options
context:
space:
mode:
authorHenner Zeller <hzeller@google.com>2023-08-30 01:55:18 -0700
committerAustin Seipp <aseipp@pobox.com>2023-09-04 09:03:32 -0500
commitad71d3105c02faa55517d67cc047b8a572159fbf (patch)
tree515dfbe2b2d768b25102c2b4ba79bc2309ea66b9 /pkgs/applications/science/logic/uhdm
parenta2ddd389de926a3749663423af227c1c2c2ef3b9 (diff)
uhdm: 1.57 -> 1.73
Also, use the finalAttrs pattern for easier overrides.
Explicitly mention that we don't fetch submodules to emphasize that
all vendored dependencies are replaced with nix dependencies.
Diffstat (limited to 'pkgs/applications/science/logic/uhdm')
-rw-r--r--pkgs/applications/science/logic/uhdm/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/science/logic/uhdm/default.nix b/pkgs/applications/science/logic/uhdm/default.nix
index 2a667a8ac9d4e..c1acd79dcab02 100644
--- a/pkgs/applications/science/logic/uhdm/default.nix
+++ b/pkgs/applications/science/logic/uhdm/default.nix
@@ -7,15 +7,16 @@
 , gtest
 }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (finalAttrs: {
   pname = "UHDM";
-  version = "1.57";
+  version = "1.73";
 
   src = fetchFromGitHub {
     owner = "chipsalliance";
-    repo = pname;
-    rev = "v${version}";
-    hash = "sha256-z3vURlKXCW5W2naVwJjBXcn94u80JsBxlUOIy9ylsJw=";
+    repo = finalAttrs.pname;
+    rev = "v${finalAttrs.version}";
+    hash = "sha256-VmRn51UrJTGEG4n2fi5kRv8khXakfGbqMtYPejsZCBI=";
+    fetchSubmodules = false;  # we use all dependencies from nix
   };
 
   nativeBuildInputs = [
@@ -43,4 +44,4 @@ stdenv.mkDerivation rec {
     maintainers = with lib.maintainers; [ matthuszagh ];
     platforms = lib.platforms.all;
   };
-}
+})