python3Packages.crossandra: 2.2.1 -> 2.3.0
changelog: https://github.com/trag1c/crossandra/blob/2.3.0/CHANGELOG.md diff: https://github.com/trag1c/crossandra/compare/2.2.1...2.3.0
This commit is contained in:
@@ -2,35 +2,34 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
hatchling,
|
||||
hatch-mypyc,
|
||||
pytestCheckHook,
|
||||
result,
|
||||
mypy,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "crossandra";
|
||||
version = "2.2.1";
|
||||
version = "2.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trag1c";
|
||||
repo = "crossandra";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-/JhrjXRH7Rs2bUil9HRneBC9wlVYEyfwivjzb+eyRv8=";
|
||||
hash = "sha256-xKMySbt+Bf+6BGyIKsmYHTZTl25HxlG8hY/HuUtDjSM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
mypy
|
||||
hatchling
|
||||
hatch-mypyc
|
||||
];
|
||||
|
||||
dependencies = [ result ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "crossandra" ];
|
||||
prePatch = ''
|
||||
# pythonRelaxDepsHook did not work
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "result ~= 0.9.0" "result >= 0.9.0"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/trag1c/crossandra/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
|
||||
Reference in New Issue
Block a user