mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.cucumber-expressions: 19.0.1 -> 20.0.0 (#542456)
This commit is contained in:
@@ -7,19 +7,19 @@
|
||||
pyyaml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cucumber-expressions";
|
||||
version = "19.0.1";
|
||||
version = "20.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cucumber";
|
||||
repo = "cucumber-expressions";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-RosIA8LaXdpnqJYfowB4d1gWZTd8OfuetiBLNYX5dRc=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-aPxD6snSQCA0y5tagvMy95bVtsk0qGf4KglTsuCGolU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
sourceRoot = "${finalAttrs.src.name}/python";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
@@ -36,10 +36,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/cucumber/cucumber-expressions/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/cucumber/cucumber-expressions/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
description = "Human friendly alternative to Regular Expressions";
|
||||
homepage = "https://github.com/cucumber/cucumber-expressions/tree/main/python";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -8,23 +8,23 @@
|
||||
uv-build,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cucumber-tag-expressions";
|
||||
version = "9.1.0";
|
||||
version = "10.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cucumber";
|
||||
repo = "tag-expressions";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-jkuez7C3YDGmv484Lmc5PszVbnVXkcC12RryvTJkxxg=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-GXgFACoes5g8E+I24tYuI3KVzFhZaFB3Gr4TJXKBpQs=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
sourceRoot = "${finalAttrs.src.name}/python";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "uv_build>=0.10.0,<0.11.0" uv_build
|
||||
--replace-fail "uv_build>=0.11.0,<0.12.0" uv_build
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
@@ -38,10 +38,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/cucumber/tag-expressions/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/cucumber/tag-expressions/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
homepage = "https://github.com/cucumber/tag-expressions";
|
||||
description = "Provides tag-expression parser for cucumber/behave";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ maxxk ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user