0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

python311Packages.pyperscan: 0.2.2 -> 0.3.0

Upstream no longer enables features by default.
9d02ca6c27
This commit is contained in:
Philipp Bartsch 2024-04-13 17:29:29 +02:00
parent 68ead29211
commit 31c87c6545

View file

@ -10,20 +10,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; [
@ -36,14 +36,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 */ mit ];
maintainers = with maintainers; [ tnias vlaci ];