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.
This commit is contained in:
parent
a2ddd389de
commit
ad71d3105c
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue