Files
nixpkgs/pkgs/development/python-modules/ida-settings/default.nix
Fabian Affolter b37656cd6a python3Packages.ida-settings: init at 3.4.1
Fetch and set configuration values for IDA Plugins

https://github.com/williballenthin/ida-settings
2026-06-03 16:40:57 +02:00

48 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
uv-build,
ida-hcli,
nix-update-script,
}:
buildPythonPackage (finalAttrs: {
pname = "ida-settings";
version = "3.4.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "williballenthin";
repo = "ida-settings";
tag = "v${finalAttrs.version}";
hash = "sha256-YPkJ/yn7ZmEYZJART6oFLO7zIqzgPl2XCq5RfXasFV0=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "uv_build>=0.8.6,<0.9.0" "uv_build"
'';
build-system = [ uv-build ];
dependencies = [ ida-hcli ];
pythonImportsCheck = [ "ida_settings" ];
# Module has no tests
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
description = "Fetch and set configuration values for IDA Plugins";
homepage = "https://github.com/williballenthin/ida-settings";
changelog = "https://github.com/williballenthin/ida-settings/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})