Merge pull request #217412 from winterqt/update-python-flirt

python3Packages.python-flirt: 0.7.0 -> 0.8.6
This commit is contained in:
Robert Schütz
2023-02-23 11:53:29 -08:00
committed by GitHub
2 changed files with 708 additions and 469 deletions
File diff suppressed because it is too large Load Diff
@@ -1,18 +1,20 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, rustPlatform
, libiconv
}:
buildPythonPackage rec {
pname = "python-flirt";
version = "0.7.0";
version = "0.8.6";
src = fetchFromGitHub {
owner = "williballenthin";
repo = "lancelot";
rev = "v${version}";
sha256 = "sha256-FsdnWWfyQte7FDz5ldo+S+3IEtbOIODOeh1fHDP2/4s=";
hash = "sha256-J48tRgJw6JjUrcAQdRELFE50pyDptbmbgYbr+rAK/PA=";
};
postPatch = ''
@@ -26,12 +28,16 @@ buildPythonPackage rec {
maturinBuildHook
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
buildAndTestSubdir = "pyflirt";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"zydis-3.1.1" = "sha256-/L28cBTCg/S7onDQXnqUoB5udoEO/depmxDUcnfIQEw=";
"zydis-3.1.3" = "sha256-X+aURjNfXGXO4eh6RJ3bi8Eb2kvF09I34ZHffvYjt9I=";
};
};