Merge master into staging-next
This commit is contained in:
@@ -581,6 +581,18 @@ final: prev:
|
||||
meta.homepage = "https://github.com/derekelkins/agda-vim/";
|
||||
};
|
||||
|
||||
agitator-nvim = buildVimPlugin {
|
||||
pname = "agitator.nvim";
|
||||
version = "2024-12-02";
|
||||
src = fetchFromGitHub {
|
||||
owner = "emmanueltouzery";
|
||||
repo = "agitator.nvim";
|
||||
rev = "dc2843869b8bb9e5096edf53583b1dee1e62aa6b";
|
||||
sha256 = "12d75hjc1vxwbd7imdn8s1d3gqkqk8xg1sdpxx262kk2c90grxpn";
|
||||
};
|
||||
meta.homepage = "https://github.com/emmanueltouzery/agitator.nvim/";
|
||||
};
|
||||
|
||||
ai-vim = buildVimPlugin {
|
||||
pname = "ai.vim";
|
||||
version = "2023-10-03";
|
||||
|
||||
@@ -143,6 +143,13 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
agitator-nvim = super.agitator-nvim.overrideAttrs {
|
||||
dependencies = with self; [
|
||||
telescope-nvim
|
||||
plenary-nvim
|
||||
];
|
||||
};
|
||||
|
||||
astrocore = super.astrocore.overrideAttrs {
|
||||
dependencies = [ self.lazy-nvim ];
|
||||
};
|
||||
|
||||
@@ -47,6 +47,7 @@ https://github.com/Mofiqul/adwaita.nvim/,HEAD,
|
||||
https://github.com/stevearc/aerial.nvim/,,
|
||||
https://github.com/Numkil/ag.nvim/,,
|
||||
https://github.com/derekelkins/agda-vim/,,
|
||||
https://github.com/emmanueltouzery/agitator.nvim/,HEAD,
|
||||
https://github.com/aduros/ai.vim/,HEAD,
|
||||
https://github.com/joshuavial/aider.nvim/,HEAD,
|
||||
https://github.com/slashmili/alchemist.vim/,,
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
bash,
|
||||
buildPackages,
|
||||
coreutils,
|
||||
nixosTests,
|
||||
perl,
|
||||
}:
|
||||
@@ -54,8 +57,29 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
for f in scripts/*; do
|
||||
substituteInPlace $f \
|
||||
--replace-quiet "@SHELL@" "${lib.getExe bash}" \
|
||||
--replace-quiet "@CHROOT@" "${lib.getExe' coreutils "chroot"}" \
|
||||
--replace-quiet "@ECHO@" "${lib.getExe' coreutils "echo"}" \
|
||||
--replace-quiet "@ENV@" "${lib.getExe' coreutils "env"}" \
|
||||
--replace-quiet "@MKFIFO@" "${lib.getExe' coreutils "mkfifo"}" \
|
||||
--replace-quiet "@SEQ@" "${lib.getExe' coreutils "seq"}"
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ perl ];
|
||||
|
||||
buildInputs = [
|
||||
bash
|
||||
perl
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
# pass in correct pod2man when cross-compiling
|
||||
"ac_cv_path_POD2MAN=${lib.getExe' buildPackages.perl "pod2man"}"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
@@ -64,6 +88,10 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
};
|
||||
|
||||
preFixup = ''
|
||||
patchShebangs --host $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dex4er/fakechroot";
|
||||
description = "Give a fake chroot environment through LD_PRELOAD";
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "icloudpd";
|
||||
version = "1.25.1";
|
||||
version = "1.26.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "icloud-photos-downloader";
|
||||
repo = "icloud_photos_downloader";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Wjei2hJpeVYVgShbbzikZk4yr71HoeP/caqU1ktDQbI=";
|
||||
hash = "sha256-tythfDw053UjxbiZsT0AqUA9ckzHy5XgJD3Q8B5QRDM=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
@@ -53,16 +53,16 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rio";
|
||||
version = "0.1.17";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raphamorim";
|
||||
repo = "rio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-10E7tIuix0BGKFbADLhcReRC01FXV/dBivJjfSe/X/c=";
|
||||
hash = "sha256-dH/r6Bumis8WOM/c/FAvFD2QYuMeHWOMQuU6zLWrlaM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-yGOvY5+ThSey/k8ilTTC0CzaOIJtc4hDYmdrHJC3HyE=";
|
||||
cargoHash = "sha256-ERB8l5WCgk6oLLWcI99mfGrWIQvsHH4bhaaCS3VqQTs=";
|
||||
|
||||
nativeBuildInputs =
|
||||
[
|
||||
|
||||
@@ -26,12 +26,10 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "weblate";
|
||||
version = "5.8.3";
|
||||
version = "5.9.2";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
disabled = python.pythonOlder "3.11";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"static"
|
||||
@@ -41,7 +39,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
owner = "WeblateOrg";
|
||||
repo = "weblate";
|
||||
tag = "weblate-${version}";
|
||||
hash = "sha256-Kmna23jhhFRJ0ExplYNPFEaIAJxmwHU2azivfKHHnjs=";
|
||||
hash = "sha256-/fsNQvIIgcTPZHHIwr8sruEJpPJTmXbevoxy1GPmOOU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -75,6 +73,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
[
|
||||
aeidon
|
||||
ahocorasick-rs
|
||||
altcha
|
||||
(toPythonModule (borgbackup.override { python3 = python; }))
|
||||
celery
|
||||
certifi
|
||||
@@ -103,6 +102,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
gitpython
|
||||
hiredis
|
||||
html2text
|
||||
httpx
|
||||
iniparse
|
||||
jsonschema
|
||||
lxml
|
||||
@@ -131,6 +131,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
tesserocr
|
||||
translate-toolkit
|
||||
translation-finder
|
||||
unidecode
|
||||
user-agents
|
||||
weblate-language-data
|
||||
weblate-schemas
|
||||
|
||||
@@ -49,11 +49,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "go";
|
||||
version = "1.22.10";
|
||||
version = "1.22.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz";
|
||||
hash = "sha256-HpT9SL51DR+vtNmztt0xpunSc10zm/JGK8l7ZMpMEDc=";
|
||||
hash = "sha256-pgwj3sldEKJXYmXOWA9Xhp1awkccT0rKgFrdyeoPyf4=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -49,11 +49,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "go";
|
||||
version = "1.24rc1";
|
||||
version = "1.24rc2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz";
|
||||
hash = "sha256-r9iiP9Jg8qJG0XQEmgdrigW7C62T8SIHaNIZuL33U50=";
|
||||
hash = "sha256-uge2hj8ggWDo8J8RyLlYJym1HP63Us5rp5o3m0+8rG0=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
{ callPackage }:
|
||||
callPackage ./binary.nix {
|
||||
version = "1.22.10";
|
||||
version = "1.22.11";
|
||||
hashes = {
|
||||
# Use `print-hashes.sh ${version}` to generate the list below
|
||||
darwin-amd64 = "dd2c4ac3702658c2c20e3a8b394da1917d86156b2cb4312c9d2f657f80067874";
|
||||
darwin-arm64 = "21cf49415ffe0755b45f2b63e75d136528a32f7bb7bdd0166f51d22a03eb0a3f";
|
||||
freebsd-386 = "f82f5d194114963693e0f51fd56d55d8417ca556438062f2b0df608473b62837";
|
||||
freebsd-amd64 = "cce9da240870a4430c5cf1227bcf29d37575043ff16f7982a69f1139c6f564b5";
|
||||
freebsd-arm64 = "abae388d0d42563a242db0d405172cb73e09236f68000ff90c2a327ec8c5764c";
|
||||
freebsd-armv6l = "7c9c8fe30cbabbb4fb597f0f0ad1279fd2b320bc70831eba4c207b55ad46931d";
|
||||
freebsd-riscv64 = "d6f25fd79e17b84d1b61bec3e2fdffc47377b28b51a04b6bdbeac0199313e059";
|
||||
linux-386 = "2ae9f00e9621489b75494fa2b8abfc5d09e0cae6effdd4c13867957ad2e4deba";
|
||||
linux-amd64 = "736ce492a19d756a92719a6121226087ccd91b652ed5caec40ad6dbfb2252092";
|
||||
linux-arm64 = "5213c5e32fde3bd7da65516467b7ffbfe40d2bb5a5f58105e387eef450583eec";
|
||||
linux-armv6l = "a7bbbc80fe736269820bbdf3555e91ada5d18a5cde2276aac3b559bc1d52fc70";
|
||||
linux-loong64 = "0be34dbc69726b52414e0283736f997fee477379ebff66cebd7d8c35f4f64f9d";
|
||||
linux-mips = "bb7d7e99db7ee70063cb57bb7395c392b8b5ed87f37d733a1c91de935c70bb91";
|
||||
linux-mips64 = "c7f0571410297cb29e52d10fed7a2a21aeaeabb9539d0c04a6d778adf0fe7f1b";
|
||||
linux-mips64le = "e66c440c03dd19bf8423034cbde7f6813321beb18d3fcf2ef234c13a25467952";
|
||||
linux-mipsle = "b4e0061f62a9c1f874893aa4951a4883c19762a9dd64c5710554ec5a7aaf311a";
|
||||
linux-ppc64 = "4192158cdedc6a124aa32a099cc6bebebabf1f4d380c46c5e36ea52c30a3888b";
|
||||
linux-ppc64le = "db05b9838f69d741fb9a5301220b1a62014aee025b0baf341aba3d280087b981";
|
||||
linux-riscv64 = "aef9b186c1b9b58c0472dbf54978f97682852a91b2e8d6bf354e59ba9c24438a";
|
||||
linux-s390x = "4ab2286adb096576771801b5099760b1d625fd7b44080449151a4d9b21303672";
|
||||
darwin-amd64 = "c6d130066d509ccca1164d84514905b1e8dc5f5f4c25c24113f1b65ad87cd020";
|
||||
darwin-arm64 = "3980b1d2be042a164989f2fd24f0bb306a2397d581a29c7426885578b369db5d";
|
||||
freebsd-386 = "ab10063b2620de387b74bc2eeadc2642a960b1c97c3fc8193447977954262241";
|
||||
freebsd-amd64 = "7910de647cab36eea010da64c07c31484a2c94e0447a0d81f339415de0def2a4";
|
||||
freebsd-arm64 = "9b5043744bd56d36d66ed193776952dd5ebdef31302d6b209e9e87f3b3936e85";
|
||||
freebsd-armv6l = "31cebf4d5280db96dc742fb71301eae5ca4ada5b48b76fb339a03bf857288eeb";
|
||||
freebsd-riscv64 = "b8196ed8ee94eb4c3bbbd4147af9362ffc6b77511dabaf9beb60ac072cf00ead";
|
||||
linux-386 = "b40ee463437e8c8f2d6c9685a0e166eaecb36615afa362eaa58459d3369f3baf";
|
||||
linux-amd64 = "0fc88d966d33896384fbde56e9a8d80a305dc17a9f48f1832e061724b1719991";
|
||||
linux-arm64 = "9ebfcab26801fa4cf0627c6439db7a4da4d3c6766142a3dd83508240e4f21031";
|
||||
linux-armv6l = "ac3ba3e0433d96b041f683e9bbb791ca39e159b3d4bb948de4ab3a2c1af1b257";
|
||||
linux-loong64 = "83ced97550e9afc82a48d98534a2457c9662a9071a35439558a70167c8cd513b";
|
||||
linux-mips = "e8c507c5516328e61e7af442f4901f3481859679284eff20198b4180f98fdfd9";
|
||||
linux-mips64 = "22ad73f1762a3129b96f398f4c65fe8a63f5e5657d4bc7f14e153728777ab323";
|
||||
linux-mips64le = "d4ad600a7c6b3c113984b1c301afec67a696a598b0f0ed2841a52c3b9051cd2d";
|
||||
linux-mipsle = "5ebd447b07f33b57e264c80a8229e5c7e09bbc3203efdd72568e7e3267538479";
|
||||
linux-ppc64 = "d3b8cda5a35d9ae670096d88cb8763424d1ac1c720521564eef8dc0dd68c2bc2";
|
||||
linux-ppc64le = "963a0ec973640b23ee8bb7a462cc415276fd8436111a03df8c34eb3b1ae29f12";
|
||||
linux-riscv64 = "150fd528397622764285f807d3343c36d052ed8cfc390a95e6336738c53f68f4";
|
||||
linux-s390x = "1a235afe650dee989fb37fef6aa520f35e4cd557c31453f3e82b553da3a90669";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dploot";
|
||||
version = "3.0.3";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-MBuO9anCe8wDD+72pR/bFrV5pAmEIWY2pKSvPSTq0yQ=";
|
||||
hash = "sha256-DlMaEkgbDHQb5BV0mI8qjTBGpmRX7bP67MZO4g+I1uI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lupa";
|
||||
version = "2.2";
|
||||
version = "2.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ZloAa8+Nmqzf25U4JLkp0GoMVZEKZitZvi8VerTIkk0=";
|
||||
hash = "sha256-UwDSH4GqG9TUX1XjHd26O4eYlWlgaKP4TPy1/ZFIqs0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "modelcif";
|
||||
version = "1.2";
|
||||
version = "1.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ihmwg";
|
||||
repo = "python-modelcif";
|
||||
tag = version;
|
||||
hash = "sha256-sduhRLtuJ/0BNsqmrhCr0lSrLMaOfE+TCWN4zj62aCQ=";
|
||||
hash = "sha256-3wuKD6oQp3QdsWRpYsnC5IPpVRcQVDERSClEKJko3dg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
netifaces,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "pyeiscp";
|
||||
version = "0.0.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "winterscar";
|
||||
repo = "python-eiscp";
|
||||
rev = "5f9ab5428ffa27a813dbfb00d392a0f76055137a"; # this is 0.0.7; tags are weird and from the original project this was forked from
|
||||
hash = "sha256-jmOPX0PnrKOs9kQZxlEpvp6Ck0kYXfWE6TgtKsOAHfs=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
netifaces
|
||||
];
|
||||
|
||||
doCheck = false; # no useful tests
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyeiscp"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python asyncio module to interface with Anthem AVM and MRX receivers";
|
||||
homepage = "https://github.com/winterscar/python-eiscp";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sievelib";
|
||||
version = "1.4.1";
|
||||
version = "1.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-z0cUBzFVMs9x2/b2YrAAzq0rR3pwz/XEshvF1DJLpT4=";
|
||||
hash = "sha256-YOoANqVRTiYQ5b9WFYbzJOdf/ZGnIJ9fueBrj+KLBrs=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
charset-normalizer,
|
||||
ruamel-yaml,
|
||||
@@ -11,17 +11,17 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "translation-finder";
|
||||
version = "2.16";
|
||||
version = "2.19";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-a1C+j4Zo0DJ9BWDn5Zsu4zAftcUixfPktAWdqiFJpiU=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "WeblateOrg";
|
||||
repo = "translation-finder";
|
||||
tag = version;
|
||||
hash = "sha256-Hc1KxmzlFqCLHSAgFF8cgxH0dTdUnBV/2T2ZkfzVvSw=";
|
||||
};
|
||||
|
||||
patches = [ ./fix_tests.patch ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
diff --git a/translation_finder/test_api.py b/translation_finder/test_api.py
|
||||
index c3b020c..9be070d 100644
|
||||
--- a/translation_finder/test_api.py
|
||||
+++ b/translation_finder/test_api.py
|
||||
@@ -173,6 +173,7 @@ class APITest(DiscoveryTestCase):
|
||||
"filemask": "json/gotext-*.json",
|
||||
"template": "json/gotext-en.json",
|
||||
},
|
||||
+ {'filemask': 'linked/*.po', 'new_base': 'linked/messages.pot', 'file_format': 'po'},
|
||||
],
|
||||
)
|
||||
|
||||
diff --git a/translation_finder/test_discovery.py b/translation_finder/test_discovery.py
|
||||
index 1a0ca40..14caa4f 100644
|
||||
--- a/translation_finder/test_discovery.py
|
||||
+++ b/translation_finder/test_discovery.py
|
||||
@@ -945,6 +945,9 @@ class JSONDiscoveryTest(DiscoveryTestCase):
|
||||
"file_format": "json-nested",
|
||||
"template": "src/app/[locale]/_translations/en.json",
|
||||
},
|
||||
+ {'filemask': '*/app/[locale]/_translations/cs.json', 'file_format': 'json-nested'},
|
||||
+ {'filemask': '*/app/[locale]/_translations/de.json', 'file_format': 'json-nested'},
|
||||
+ {'filemask': '*/app/[locale]/_translations/en.json', 'file_format': 'json-nested'}
|
||||
],
|
||||
)
|
||||
@@ -7,19 +7,20 @@
|
||||
jsonschema,
|
||||
rfc3987,
|
||||
strict-rfc3339,
|
||||
fedora-messaging,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "weblate-schemas";
|
||||
version = "2024.1";
|
||||
version = "2024.2";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "weblate_schemas";
|
||||
inherit version;
|
||||
hash = "sha256-nYPLD3VDO1Z97HI79J6Yjj3bWp1xKB79FWPCW146iz4=";
|
||||
hash = "sha256-Y7hWqfv1gZ2sT2fNbWLVDzwbVdB/1rT/oND9p/mkYAs=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -31,7 +32,10 @@ buildPythonPackage rec {
|
||||
strict-rfc3339
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
fedora-messaging
|
||||
pytestCheckHook
|
||||
] ++ jsonschema.optional-dependencies.format;
|
||||
|
||||
pythonImportsCheck = [ "weblate_schemas" ];
|
||||
|
||||
|
||||
@@ -3958,7 +3958,8 @@
|
||||
];
|
||||
"onkyo" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: pyeiscp
|
||||
pyeiscp
|
||||
];
|
||||
"onvif" =
|
||||
ps: with ps; [
|
||||
ha-ffmpeg
|
||||
@@ -7043,6 +7044,7 @@
|
||||
"oncue"
|
||||
"ondilo_ico"
|
||||
"onewire"
|
||||
"onkyo"
|
||||
"onvif"
|
||||
"open_meteo"
|
||||
"openai_conversation"
|
||||
|
||||
@@ -2226,6 +2226,9 @@ with self; {
|
||||
url = "mirror://cpan/authors/id/X/XA/XAOC/Cairo-1.109.tar.gz";
|
||||
hash = "sha256-ghlzbkAcIxHaX1FXdd5D/YfmOEtQTaNqGS8rIXZDB38=";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
pkgs.pkg-config
|
||||
];
|
||||
buildInputs = [ pkgs.cairo ];
|
||||
propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig ];
|
||||
meta = {
|
||||
@@ -2242,6 +2245,9 @@ with self; {
|
||||
url = "mirror://cpan/authors/id/X/XA/XAOC/Cairo-GObject-1.005.tar.gz";
|
||||
hash = "sha256-jYlkRNceHQvKPSTjHl2CvQ2VQqrtkdH7fqs2e85nXFA=";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
pkgs.pkg-config
|
||||
];
|
||||
buildInputs = [ pkgs.cairo ];
|
||||
propagatedBuildInputs = [ Cairo Glib ];
|
||||
meta = {
|
||||
@@ -10235,6 +10241,8 @@ with self; {
|
||||
description = "Locate per-dist and per-module shared files";
|
||||
homepage = "https://metacpan.org/release/File-ShareDir";
|
||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||
# Can't load module IO, dynamic loading not available in this perl.
|
||||
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -10702,6 +10710,8 @@ with self; {
|
||||
homepage = "https://metacpan.org/release/Games-Solitaire-Verify";
|
||||
license = with lib.licenses; [ mit ];
|
||||
mainProgram = "verify-solitaire-solution";
|
||||
# Unsuccessful stat on filename containing newline at lib/perl5/5.40.0/File/Path.pm line 361.
|
||||
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -10713,6 +10723,9 @@ with self; {
|
||||
hash = "sha256-aDEFS/VCS09cI9NifT0UhEgPb5wsZmMiIpFfKFG+buQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgs.pkg-config
|
||||
];
|
||||
buildInputs = [ pkgs.gd pkgs.libjpeg pkgs.zlib pkgs.freetype pkgs.libpng pkgs.fontconfig pkgs.xorg.libXpm ExtUtilsPkgConfig TestFork TestNoWarnings ];
|
||||
|
||||
# otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]"
|
||||
@@ -10944,12 +10957,17 @@ with self; {
|
||||
url = "mirror://cpan/authors/id/X/XA/XAOC/Glib-1.3294.tar.gz";
|
||||
hash = "sha256-1xX1qGvMGHB13oXnrlvAewcU1u3BlqktpDmG76ROXLs=";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
pkgs.pkg-config
|
||||
];
|
||||
buildInputs = [ pkgs.glib ];
|
||||
propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig ];
|
||||
meta = {
|
||||
description = "Perl wrappers for the GLib utility and Object libraries";
|
||||
homepage = "https://gtk2-perl.sourceforge.net";
|
||||
license = with lib.licenses; [ lgpl21Only ];
|
||||
# Can't load module IO, dynamic loading not available in this perl.
|
||||
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -10968,7 +10986,13 @@ with self; {
|
||||
hash = "sha256-/QAhKENSeP+QRoWx/v8EMFPOouZ36Qd78lhZpvInz7Q=";
|
||||
})
|
||||
];
|
||||
nativeCheckInputs = [ pkgs.cairo CairoGObject ];
|
||||
nativeBuildInputs = [
|
||||
pkgs.pkg-config
|
||||
];
|
||||
nativeCheckInputs = [ CairoGObject ];
|
||||
checkInputs = [
|
||||
pkgs.cairo
|
||||
];
|
||||
propagatedBuildInputs = [ pkgs.gobject-introspection Glib ];
|
||||
preCheck = ''
|
||||
# Our gobject-introspection patches make the shared library paths absolute
|
||||
|
||||
@@ -564,6 +564,8 @@ self: super: with self; {
|
||||
|
||||
altair = callPackage ../development/python-modules/altair { };
|
||||
|
||||
altcha = callPackage ../development/python-modules/altcha { };
|
||||
|
||||
altgraph = callPackage ../development/python-modules/altgraph { };
|
||||
|
||||
amarna = callPackage ../development/python-modules/amarna { };
|
||||
@@ -2728,6 +2730,8 @@ self: super: with self; {
|
||||
|
||||
credstash = callPackage ../development/python-modules/credstash { };
|
||||
|
||||
crochet = callPackage ../development/python-modules/crochet { };
|
||||
|
||||
crocoddyl = toPythonModule (pkgs.crocoddyl.override {
|
||||
pythonSupport = true;
|
||||
python3Packages = self;
|
||||
@@ -4529,6 +4533,8 @@ self: super: with self; {
|
||||
|
||||
feather-format = callPackage ../development/python-modules/feather-format { };
|
||||
|
||||
fedora-messaging = callPackage ../development/python-modules/fedora-messaging { };
|
||||
|
||||
feedfinder2 = callPackage ../development/python-modules/feedfinder2 { };
|
||||
|
||||
feedgen = callPackage ../development/python-modules/feedgen { };
|
||||
@@ -11684,6 +11690,8 @@ self: super: with self; {
|
||||
|
||||
pyeight = callPackage ../development/python-modules/pyeight { };
|
||||
|
||||
pyeiscp = callPackage ../development/python-modules/pyeiscp { };
|
||||
|
||||
pyelectra = callPackage ../development/python-modules/pyelectra { };
|
||||
|
||||
pyelftools = callPackage ../development/python-modules/pyelftools { };
|
||||
|
||||
Reference in New Issue
Block a user