mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.weblate-schemas: 2025.6 -> 2026.4, use fetchFromGitHub
Changelog: https://github.com/WeblateOrg/weblate_schemas/blob/2026.4/CHANGES.rst
This commit is contained in:
parent
181a52a499
commit
f7923509f8
1 changed files with 11 additions and 13 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
fqdn,
|
||||
jsonschema,
|
||||
|
|
@ -11,30 +11,28 @@
|
|||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "weblate-schemas";
|
||||
version = "2025.6";
|
||||
version = "2026.4";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "weblate_schemas";
|
||||
inherit version;
|
||||
hash = "sha256-Kxu+8CiJ343PmCdY5rSbTqsWmVMLnz9inAH726g5TQQ=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "WeblateOrg";
|
||||
repo = "weblate_schemas";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-OPuhRsUmVte54UPNna76N5Kbg1Tl7p8OdKbE6VHWcvg=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
fqdn
|
||||
jsonschema
|
||||
rfc3987
|
||||
strict-rfc3339
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
fedora-messaging
|
||||
pytestCheckHook
|
||||
fedora-messaging
|
||||
]
|
||||
++ jsonschema.optional-dependencies.format;
|
||||
|
||||
|
|
@ -43,9 +41,9 @@ buildPythonPackage rec {
|
|||
meta = {
|
||||
description = "Schemas used by Weblate";
|
||||
homepage = "https://github.com/WeblateOrg/weblate_schemas";
|
||||
changelog = "https://github.com/WeblateOrg/weblate_schemas/blob/${version}/CHANGES.rst";
|
||||
changelog = "https://github.com/WeblateOrg/weblate_schemas/blob/${finalAttrs.version}/CHANGES.rst";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ erictapen ];
|
||||
};
|
||||
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue