Merge staging-next into staging
This commit is contained in:
@@ -114,22 +114,7 @@ let
|
||||
xorg.libXScrnSaver
|
||||
xorg.libXtst
|
||||
zlib
|
||||
|
||||
# c.f. https://github.com/NixOS/nixpkgs/pull/418543
|
||||
(libxml2.overrideAttrs (oldAttrs: rec {
|
||||
version = "2.13.8";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libxml2/${lib.versions.majorMinor version}/libxml2-${version}.tar.xz";
|
||||
hash = "sha256-J3KUyzMRmrcbK8gfL0Rem8lDW4k60VuyzSsOhZoO6Eo=";
|
||||
};
|
||||
meta = oldAttrs.meta // {
|
||||
knownVulnerabilities = oldAttrs.meta.knownVulnerabilities or [ ] ++ [
|
||||
"CVE-2025-49794"
|
||||
"CVE-2025-49796"
|
||||
"CVE-2025-6021"
|
||||
];
|
||||
};
|
||||
}))
|
||||
libxml2_13
|
||||
|
||||
(writeTextDir "etc/omnissa/config" configText)
|
||||
];
|
||||
|
||||
@@ -6,12 +6,13 @@
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
ruamel-yaml,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cwlformat";
|
||||
version = "2022.02.18";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@@ -31,12 +32,19 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ ruamel-yaml ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ ruamel-yaml ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "cwlformat" ];
|
||||
|
||||
disabledTests = [
|
||||
# Test compares output
|
||||
"test_formatting_battery"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Code formatter for CWL";
|
||||
homepage = "https://github.com/rabix/cwl-format";
|
||||
|
||||
@@ -33,12 +33,15 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "cymruwhois" ];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_asn"
|
||||
# AssertionError
|
||||
"test_doctest"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# £Failed: 'yield' keyword is allowed in fixtures, but not in tests (test_common)
|
||||
"tests/test_common_lookups.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python client for the whois.cymru.com service";
|
||||
homepage = "https://github.com/JustinAzoff/python-cymruwhois";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
pytestCheckHook,
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
@@ -15,8 +14,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "fugashi";
|
||||
version = "1.5.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "polm";
|
||||
@@ -25,7 +23,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-rkQskRz7lgVBrqBeyj9kWO2/7POrZ0TaM+Z7mhpZLvM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "Cython~=3.0.11" "Cython"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
mecab
|
||||
setuptools-scm
|
||||
@@ -51,7 +54,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Cython MeCab wrapper for fast, pythonic Japanese tokenization and morphological analysis";
|
||||
homepage = "https://github.com/polm/fugashi";
|
||||
changelog = "https://github.com/polm/fugashi/releases/tag/${version}";
|
||||
changelog = "https://github.com/polm/fugashi/releases/tag/${src.tag}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ laurent-f1z1 ];
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
hatchling,
|
||||
requests,
|
||||
websocket-client,
|
||||
}:
|
||||
@@ -19,13 +19,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-qGp6i4fNmduTZfdxNvYJTAQV/Ovm3XFNOJ8uSj6Ipic=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail poetry.masonry.api poetry.core.masonry.api \
|
||||
--replace-fail "poetry>=" "poetry-core>="
|
||||
'';
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
six,
|
||||
}:
|
||||
|
||||
@@ -20,7 +21,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-+3MG9aPgRVNOc3q37L7uA5ul6br7xbXyMfYW1+khG2U=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [ six ];
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
@@ -20,6 +21,8 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
||||
@@ -36,8 +36,11 @@ buildPythonPackage rec {
|
||||
pythonRelaxDeps = [ "mistune" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail 'pytest_runner + ["setuptools_scm>=8.0.4,<9"]' '["setuptools_scm"]'
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "mypy[mypyc]==1.15.0" "mypy"
|
||||
--replace-fail '"setuptools_scm[toml]>=8.0.4,<9"' '"setuptools_scm[toml]"' \
|
||||
--replace-fail "mypy[mypyc]==1.17.0" "mypy"
|
||||
sed -i "/black>=/d" pyproject.toml
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
{
|
||||
lib,
|
||||
attrs,
|
||||
buildPythonPackage,
|
||||
docopt,
|
||||
fetchPypi,
|
||||
isPy27,
|
||||
libX11,
|
||||
libXext,
|
||||
attrs,
|
||||
docopt,
|
||||
libXres,
|
||||
meson-python,
|
||||
meson,
|
||||
pillow,
|
||||
pkg-config,
|
||||
psutil,
|
||||
xlib,
|
||||
}:
|
||||
@@ -15,21 +18,27 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "ueberzug";
|
||||
version = "18.3.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = isPy27;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-1Lk4E5YwEq2mUnYbIWDhzz9/CCwfXMJ11/TtJ44ugOk=";
|
||||
hash = "sha256-1Lk4E5YwEq2mUnYbIWDhzz9/CCwfXMJ11/TtJ44ugOk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
meson
|
||||
meson-python
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXres
|
||||
libXext
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
attrs
|
||||
docopt
|
||||
pillow
|
||||
@@ -42,10 +51,11 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "ueberzug" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/seebye/ueberzug";
|
||||
description = "Alternative for w3mimgdisplay";
|
||||
homepage = "https://github.com/ueber-devel/ueberzug";
|
||||
changelog = "https://github.com/ueber-devel/ueberzug/releases/tag/${version}";
|
||||
license = licenses.gpl3Only;
|
||||
mainProgram = "ueberzug";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ Br1ght0ne ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user