python313Packages.python-flirt: 0.8.6 -> 0.9.7

https://github.com/williballenthin/lancelot/compare/v0.8.6...v0.9.7
This commit is contained in:
Martin Weinelt
2025-04-01 05:22:18 +02:00
parent 0b02675cfc
commit 8be168bf85
2 changed files with 756 additions and 581 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -9,37 +9,36 @@
buildPythonPackage rec {
pname = "python-flirt";
version = "0.8.6";
version = "0.9.7";
pyproject = true;
src = fetchFromGitHub {
owner = "williballenthin";
repo = "lancelot";
rev = "v${version}";
hash = "sha256-J48tRgJw6JjUrcAQdRELFE50pyDptbmbgYbr+rAK/PA=";
hash = "sha256-IgkfUkVsJyAsqH+L9GBdTQI1ure4k8mVLLWHj7AFDj8=";
};
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
ln -s ${./Cargo.lock} Cargo.lock
'';
format = "pyproject";
nativeBuildInputs = with rustPlatform; [
cargoSetupHook
maturinBuildHook
];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
buildAndTestSubdir = "pyflirt";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"zydis-3.1.3" = "sha256-X+aURjNfXGXO4eh6RJ3bi8Eb2kvF09I34ZHffvYjt9I=";
"ar-0.9.0" = "sha256-eyi1MlhJVvsiBOsetDHXFpdk+ABeZo/fVXNyvc5mw9s=";
};
};
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
buildAndTestSubdir = "pyflirt";
pythonImportsCheck = [ "flirt" ];
meta = with lib; {