python3Packages.hyperscan: 0.8.0 -> 0.8.2
Diff: https://github.com/darvid/python-hyperscan/compare/v0.8.0...v0.8.2 Changelog: https://github.com/darvid/python-hyperscan/blob/v0.8.2/CHANGELOG.md
This commit is contained in:
@@ -21,19 +21,23 @@ let
|
||||
];
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hyperscan";
|
||||
version = "0.8.0";
|
||||
version = "0.8.2";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darvid";
|
||||
repo = "python-hyperscan";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-on++eSNaVY2Q6yT/O+unvE0x/Pt/SsIQFQblIqii2sM=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-jIDUfl6ReWvypfWecM8hReux6YxzXSsLCFU3AO97xUY=";
|
||||
};
|
||||
|
||||
env.CMAKE_ARGS = "-DHS_SRC_ROOT=${pkgs.hyperscan.src} -DHS_BUILD_LIB_ROOT=${lib-deps}/lib";
|
||||
env.CMAKE_ARGS = lib.toString [
|
||||
(lib.cmakeFeature "HS_SRC_ROOT" pkgs.hyperscan.src.outPath)
|
||||
(lib.cmakeFeature "HS_BUILD_LIB_ROOT" "${lib-deps}/lib")
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
@@ -56,11 +60,11 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "CPython extension for the Hyperscan regular expression matching library";
|
||||
homepage = "https://github.com/darvid/python-hyperscan";
|
||||
changelog = "https://github.com/darvid/python-hyperscan/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/darvid/python-hyperscan/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user