Merge pull request #303857 from tnias/update/pyperscan-0.3.0
python311Packages.pyperscan: 0.2.2 -> 0.3.0
This commit is contained in:
commit
cbfb6f1e12
@ -11,20 +11,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyperscan";
|
||||
version = "0.2.2";
|
||||
version = "0.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vlaci";
|
||||
repo = "pyperscan";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ioNGEmWy+lEzazF1RzMFS06jYLNYll3QSlWAF0AoU7Y=";
|
||||
hash = "sha256-uGZ0XFxnZHSLEWcwoHVd+xMulDRqEIrQ5Lf7886GdlM=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-2zppyxJ+XaI/JCkp7s27/jgtSbwxnI4Yil5KT8WgrVI=";
|
||||
hash = "sha256-a4jNofPIHoKwsD82y2hG2QPu+eM5D7FSGCm2nDo2cLA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
@ -37,14 +37,12 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ vectorscan ] ++ lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
# Disable default features to use the system vectorscan library instead of a vendored one.
|
||||
maturinBuildFlags = [ "--no-default-features" ];
|
||||
|
||||
pythonImportsCheck = [ "pyperscan" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "a hyperscan binding for Python, which supports vectorscan";
|
||||
homepage = "https://github.com/vlaci/pyperscan";
|
||||
homepage = "https://vlaci.github.io/pyperscan/";
|
||||
changelog = "https://github.com/vlaci/pyperscan/releases/tag/${src.rev}";
|
||||
platforms = platforms.unix;
|
||||
license = with licenses; [
|
||||
asl20 # or
|
||||
|
Loading…
Reference in New Issue
Block a user