python313Packages.verilogae: switch to maintained fork (#435932)

Emily b3091d92 bbe62cf6

Changed files
+16 -18
pkgs
development
python-modules
scikit-rf
verilogae
+4 -3
pkgs/development/python-modules/scikit-rf/default.nix
···
];
# test_calibration.py generates a divide by zero error on darwin
# https://github.com/scikit-rf/scikit-rf/issues/972
-
disabledTestPaths = lib.optional (
-
stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin
-
) "skrf/calibration/tests/test_calibration.py";
pythonImportsCheck = [ "skrf" ];
···
];
# test_calibration.py generates a divide by zero error on darwin
+
# and fails on Linux after updates of dependenceis
# https://github.com/scikit-rf/scikit-rf/issues/972
+
disabledTestPaths = [
+
"skrf/calibration/tests/test_calibration.py"
+
];
pythonImportsCheck = [ "skrf" ];
+12 -15
pkgs/development/python-modules/verilogae/default.nix
···
rustPlatform,
cargo,
rustc,
-
autoPatchelfHook,
pkg-config,
-
llvmPackages_15,
libxml2,
ncurses,
zlib,
···
buildPythonPackage rec {
pname = "verilogae";
-
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
-
owner = "pascalkuthe";
-
repo = "OpenVAF";
-
rev = "VerilogAE-v${version}";
-
hash = "sha256-TILKKmgSyhyxp88sdflDXAoH++iP6CMpdoXN1/1fsjU=";
};
postPatch = ''
-
substituteInPlace openvaf/llvm/src/initialization.rs \
-
--replace-fail "i8" "libc::c_char"
substituteInPlace openvaf/osdi/build.rs \
--replace-fail "-fPIC" ""
'';
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
-
hash = "sha256-/gSqaxqOZUkUmJJ5PGMkAG/5PSeAjwDjT2ce+tL7xmY";
};
nativeBuildInputs = [
···
rustPlatform.bindgenHook
cargo
rustc
-
autoPatchelfHook
pkg-config
-
llvmPackages_15.clang
-
llvmPackages_15.llvm
];
buildInputs = [
libxml2.dev
-
llvmPackages_15.libclang
ncurses
zlib
];
···
jasonodoom
jleightcap
];
-
platforms = lib.platforms.linux;
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
};
}
···
rustPlatform,
cargo,
rustc,
pkg-config,
+
llvmPackages,
libxml2,
ncurses,
zlib,
···
buildPythonPackage rec {
pname = "verilogae";
+
version = "24.0.0mob-unstable-2025-07-21";
pyproject = true;
+
+
stdenv = llvmPackages.stdenv;
src = fetchFromGitHub {
+
owner = "OpenVAF";
+
repo = "OpenVAF-Reloaded";
+
rev = "d878f5519b1767b64c6ebeb4d67e29e7cd46e60b";
+
hash = "sha256-TDE2Ewokhm2KSKe+sunUbV8KD3kaTSd5dB3CLCWGJ9U=";
};
postPatch = ''
substituteInPlace openvaf/osdi/build.rs \
--replace-fail "-fPIC" ""
'';
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
+
hash = "sha256-5SLrVL3h6+tptHv3GV7r8HUTrYQC9VdF68O2/Uct3xA=";
};
nativeBuildInputs = [
···
rustPlatform.bindgenHook
cargo
rustc
pkg-config
+
llvmPackages.llvm
];
buildInputs = [
libxml2.dev
+
llvmPackages.libclang
ncurses
zlib
];
···
jasonodoom
jleightcap
];
+
platforms = lib.platforms.unix;
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
};
}