-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
weblate: 5.8.3 -> 5.9.2 and fix (#369307)
- Loading branch information
Showing
8 changed files
with
171 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchFromGitHub, | ||
setuptools, | ||
pytestCheckHook, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "altcha"; | ||
version = "0.1.7"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "altcha-org"; | ||
repo = "altcha-lib-py"; | ||
tag = "v${version}"; | ||
hash = "sha256-jQUzIriy7p43WfbJ2XtT/n3AQy+f2ByDl7zNBBAxZ4I="; | ||
}; | ||
|
||
build-system = [ setuptools ]; | ||
|
||
pythonImportsCheck = [ "altcha" ]; | ||
|
||
nativeCheckInputs = [ pytestCheckHook ]; | ||
|
||
meta = { | ||
description = "Lightweight Python library for creating and verifying ALTCHA challenges"; | ||
homepage = "https://github.com/altcha-org/altcha-lib-py"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ erictapen ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchFromGitHub, | ||
setuptools, | ||
twisted, | ||
wrapt, | ||
pytestCheckHook, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "crochet"; | ||
version = "2.1.1"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "itamarst"; | ||
repo = "crochet"; | ||
tag = version; | ||
hash = "sha256-grymhvCC9zDBKhNnQC0o07hdLPV5KMWb6HSz/ntSbq8="; | ||
}; | ||
|
||
# fix for python>=3.12 | ||
postPatch = '' | ||
substituteInPlace versioneer.py \ | ||
--replace-fail "SafeConfigParser()" "ConfigParser()" \ | ||
--replace-fail "parser.readfp" "parser.read_file" | ||
''; | ||
|
||
build-system = [ setuptools ]; | ||
|
||
dependencies = [ | ||
twisted | ||
wrapt | ||
]; | ||
|
||
pythonImportsCheck = [ "crochet" ]; | ||
|
||
nativeCheckInputs = [ pytestCheckHook ]; | ||
|
||
meta = { | ||
description = "Library that makes it easier to use Twisted from regular blocking code"; | ||
homepage = "https://github.com/itamarst/crochet"; | ||
changelog = "https://github.com/itamarst/crochet/blob/${src.tag}/docs/news.rst"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ erictapen ]; | ||
}; | ||
} |
65 changes: 65 additions & 0 deletions
65
pkgs/development/python-modules/fedora-messaging/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchFromGitHub, | ||
poetry-core, | ||
blinker, | ||
click, | ||
crochet, | ||
jsonschema, | ||
pika, | ||
pyopenssl, | ||
requests, | ||
service-identity, | ||
tomli, | ||
twisted, | ||
pytest-mock, | ||
pytest-twisted, | ||
pytestCheckHook, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "fedora-messaging"; | ||
version = "3.6.0"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "fedora-infra"; | ||
repo = "fedora-messaging"; | ||
tag = "v${version}"; | ||
hash = "sha256-t5jwEgKLSB8APie+TD3WpgPYcAAPzEQLA+jXGlWVuNU="; | ||
}; | ||
|
||
build-system = [ poetry-core ]; | ||
|
||
dependencies = [ | ||
blinker | ||
click | ||
crochet | ||
jsonschema | ||
pika | ||
pyopenssl | ||
requests | ||
service-identity | ||
tomli | ||
twisted | ||
]; | ||
|
||
pythonImportsCheck = [ "fedora_messaging" ]; | ||
|
||
nativeCheckInputs = [ | ||
pytest-mock | ||
pytest-twisted | ||
pytestCheckHook | ||
]; | ||
|
||
pytestFlagsArray = [ "tests/unit" ]; | ||
|
||
meta = { | ||
description = "Library for sending AMQP messages with JSON schema in Fedora infrastructure"; | ||
homepage = "https://github.com/fedora-infra/fedora-messaging"; | ||
changelog = "https://github.com/fedora-infra/fedora-messaging/releases/tag/${src.tag}"; | ||
license = lib.licenses.gpl2Plus; | ||
maintainers = with lib.maintainers; [ erictapen ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
pkgs/development/python-modules/translation-finder/fix_tests.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters