mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python311Packages.pyperscan: 0.2.2 -> 0.3.0
Upstream no longer enables features by default.
9d02ca6c27
This commit is contained in:
parent
68ead29211
commit
31c87c6545
1 changed files with 5 additions and 7 deletions
|
@ -10,20 +10,20 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyperscan";
|
pname = "pyperscan";
|
||||||
version = "0.2.2";
|
version = "0.3.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vlaci";
|
owner = "vlaci";
|
||||||
repo = "pyperscan";
|
repo = "pyperscan";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-ioNGEmWy+lEzazF1RzMFS06jYLNYll3QSlWAF0AoU7Y=";
|
hash = "sha256-uGZ0XFxnZHSLEWcwoHVd+xMulDRqEIrQ5Lf7886GdlM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-2zppyxJ+XaI/JCkp7s27/jgtSbwxnI4Yil5KT8WgrVI=";
|
hash = "sha256-a4jNofPIHoKwsD82y2hG2QPu+eM5D7FSGCm2nDo2cLA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with rustPlatform; [
|
nativeBuildInputs = with rustPlatform; [
|
||||||
|
@ -36,14 +36,12 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
buildInputs = [ vectorscan ] ++ lib.optional stdenv.isDarwin libiconv;
|
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" ];
|
pythonImportsCheck = [ "pyperscan" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "a hyperscan binding for Python, which supports vectorscan";
|
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;
|
platforms = platforms.unix;
|
||||||
license = with licenses; [ asl20 /* or */ mit ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
maintainers = with maintainers; [ tnias vlaci ];
|
maintainers = with maintainers; [ tnias vlaci ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue