python312Packages.crossandra: init at 2.2.1
This commit is contained in:
parent
afd3a57b83
commit
c4b46f7c54
39
pkgs/development/python-modules/crossandra/default.nix
Normal file
39
pkgs/development/python-modules/crossandra/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
result,
|
||||
mypy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crossandra";
|
||||
version = "2.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trag1c";
|
||||
repo = "crossandra";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-/JhrjXRH7Rs2bUil9HRneBC9wlVYEyfwivjzb+eyRv8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools mypy ];
|
||||
dependencies = [ result ];
|
||||
|
||||
pythonImportsCheck = [ "crossandra" ];
|
||||
prePatch = ''
|
||||
# pythonRelaxDepsHook did not work
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "result ~= 0.9.0" "result >= 0.9.0"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/trag1c/crossandra/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "A fast and simple enum/regex-based tokenizer with decent configurability";
|
||||
license = licenses.mit;
|
||||
homepage = "https://trag1c.github.io/crossandra";
|
||||
maintainers = with maintainers; [ sigmanificient ];
|
||||
};
|
||||
}
|
@ -2567,6 +2567,8 @@ self: super: with self; {
|
||||
|
||||
crontab = callPackage ../development/python-modules/crontab { };
|
||||
|
||||
crossandra = callPackage ../development/python-modules/crossandra { };
|
||||
|
||||
crossplane = callPackage ../development/python-modules/crossplane { };
|
||||
|
||||
crownstone-cloud = callPackage ../development/python-modules/crownstone-cloud { };
|
||||
|
Loading…
Reference in New Issue
Block a user