python3Packages.python-flirt: init at 0.7.0
This commit is contained in:
parent
f0a2ed7ca5
commit
647d05a321
3 changed files with 1513 additions and 0 deletions
1465
pkgs/development/python-modules/python-flirt/Cargo.lock
generated
Normal file
1465
pkgs/development/python-modules/python-flirt/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
46
pkgs/development/python-modules/python-flirt/default.nix
Normal file
46
pkgs/development/python-modules/python-flirt/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-flirt";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "williballenthin";
|
||||
repo = "lancelot";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-FsdnWWfyQte7FDz5ldo+S+3IEtbOIODOeh1fHDP2/4s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
cp ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
];
|
||||
|
||||
buildAndTestSubdir = "pyflirt";
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"zydis-3.1.1" = "sha256-/L28cBTCg/S7onDQXnqUoB5udoEO/depmxDUcnfIQEw=";
|
||||
};
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "flirt" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for parsing, compiling, and matching Fast Library Identification and Recognition Technology (FLIRT) signatures";
|
||||
homepage = "https://github.com/williballenthin/lancelot/tree/master/pyflirt";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
};
|
||||
}
|
|
@ -6737,6 +6737,8 @@ in {
|
|||
|
||||
python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { };
|
||||
|
||||
python-flirt = callPackage ../development/python-modules/python-flirt { };
|
||||
|
||||
python-glanceclient = callPackage ../development/python-modules/python-glanceclient { };
|
||||
|
||||
python-google-nest = callPackage ../development/python-modules/python-google-nest { };
|
||||
|
|
Loading…
Reference in a new issue