Merge master into staging-next
This commit is contained in:
commit
4168b4005a
@ -833,7 +833,9 @@ class Machine:
|
|||||||
# TODO: do we want to bail after a set number of attempts?
|
# TODO: do we want to bail after a set number of attempts?
|
||||||
while not shell_ready(timeout_secs=30):
|
while not shell_ready(timeout_secs=30):
|
||||||
self.log("Guest root shell did not produce any data yet...")
|
self.log("Guest root shell did not produce any data yet...")
|
||||||
self.log(" To debug, enter the VM and run 'systemctl status backdoor.service'.")
|
self.log(
|
||||||
|
" To debug, enter the VM and run 'systemctl status backdoor.service'."
|
||||||
|
)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
chunk = self.shell.recv(1024)
|
chunk = self.shell.recv(1024)
|
||||||
|
@ -1635,7 +1635,7 @@ in {
|
|||||||
"gitlab-config.service"
|
"gitlab-config.service"
|
||||||
"gitlab-db-config.service"
|
"gitlab-db-config.service"
|
||||||
] ++ optional (cfg.databaseHost == "") "postgresql.service";
|
] ++ optional (cfg.databaseHost == "") "postgresql.service";
|
||||||
wantedBy = [ "gitlab.target" ];
|
requiredBy = [ "gitlab.target" ];
|
||||||
partOf = [ "gitlab.target" ];
|
partOf = [ "gitlab.target" ];
|
||||||
environment = gitlabEnv;
|
environment = gitlabEnv;
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "velero";
|
pname = "velero";
|
||||||
version = "1.11.0";
|
version = "1.11.1";
|
||||||
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vmware-tanzu";
|
owner = "vmware-tanzu";
|
||||||
repo = "velero";
|
repo = "velero";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-vrRVNVcNahTC+HSHr7Bw3WedNhe+SSX03P65C5xiUnw=";
|
sha256 = "sha256-G1+zdzHj8fDKVEVQpBEH3o/em+gxCyQmrpSXj8bE/P4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
|
@ -10,14 +10,14 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "dvc";
|
pname = "dvc";
|
||||||
version = "3.5.1";
|
version = "3.8.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-1kVc7+36rvIpoSinpyxMMs1/nhZrwv1pPWJsruFd1N8=";
|
hash = "sha256-ZHB2XAYjPwhCWHqq2Kro4CzDW34YBaknv9xBotCDkOw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
|
@ -36,11 +36,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "epiphany";
|
pname = "epiphany";
|
||||||
version = "44.5";
|
version = "44.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "PEdeBO0qD0EMtEuWk3VjaXB5GTrJt6UMkUhfubCDFas=";
|
sha256 = "UzXdVzWB22HhJthU3BauUZZXpbh5B4mkfSXkPhfNOkM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -349,4 +349,11 @@ in {
|
|||||||
sha256 = "sha256-lsV1WIcaZ0jeW8nydOk/S1qtBs2PN776Do2U57ikI7w=";
|
sha256 = "sha256-lsV1WIcaZ0jeW8nydOk/S1qtBs2PN776Do2U57ikI7w=";
|
||||||
cargoSha256 = "sha256-6du7RJo0DH+eYMOoh3L31F3aqfR5+iG1iKauSV1uNcQ=";
|
cargoSha256 = "sha256-6du7RJo0DH+eYMOoh3L31F3aqfR5+iG1iKauSV1uNcQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ruby_3_3 = generic {
|
||||||
|
version = rubyVersion "3" "3" "0" "preview1";
|
||||||
|
sha256 = "sha256-w0VKkRd5uNdHqw6ocEEDDQAtUz7ayySF/lWLcITaJe0=";
|
||||||
|
cargoSha256 = "sha256-6du7RJo0DH+eYMOoh3L31F3aqfR5+iG1iKauSV1uNcQ=";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gspell";
|
pname = "gspell";
|
||||||
version = "1.12.1";
|
version = "1.12.2";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "jsRPMgUuiW/N1JJuuBSjJuOaUEfiUe7HuQVvvZREsPE=";
|
sha256 = "tOmTvYJ+TOtqdwsbXolQ/OO+nIsrDL6yL9+ZKAjdITk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -20,11 +20,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xdg-desktop-portal-gnome";
|
pname = "xdg-desktop-portal-gnome";
|
||||||
version = "44.1";
|
version = "44.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "NoLFRsgZIqW6adYthvacDCaxfJCWgj9YFJ0LVbvw7ts=";
|
sha256 = "UO0arCkDA+oLxchAqcEWWRhUarSnOiTFLcqicHK1/yE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dvc-data";
|
pname = "dvc-data";
|
||||||
version = "2.5.0";
|
version = "2.6.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-K4quPZZnHqZkuR8moJ8TwmfHQ3BennoByZ5XW5X5rDA=";
|
hash = "sha256-Tqo2dhTes/HHhWqBZkJ9qW8i6FGWRx1Uk+0Q3pwsD+M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dvc-objects";
|
pname = "dvc-objects";
|
||||||
version = "0.23.1";
|
version = "0.24.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-EVhzVzgShqFbQvZD4KEw+sDWE473DMM1HyDj2okMxuk=";
|
hash = "sha256-yaKrG+PXrS9wwQcpEYGAGFp+xRYbhiWFE8PxUEXG52Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dvclive";
|
pname = "dvclive";
|
||||||
version = "2.12.1";
|
version = "2.13.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-0J3XLBfH8kpIAyAnMhbS6d4vW3vtlbhCKIuaNsLZACg=";
|
hash = "sha256-5tvwIa2kx5MlMZV6J+NqN9v/TjOeZC6wftO102/QbCk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
42
pkgs/development/python-modules/gptcache/default.nix
Normal file
42
pkgs/development/python-modules/gptcache/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cachetools
|
||||||
|
, numpy
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "gptcache";
|
||||||
|
version = "0.1.37";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zilliztech";
|
||||||
|
repo = "GPTCache";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-eQu3O6jPL1BRObA99XA2EOznn9NaArVRouqD1Ypz/4w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cachetools
|
||||||
|
numpy
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
# many tests require network access and complicated dependencies
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "gptcache" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Semantic cache for LLMs and fully integrated with LangChain and llama_index";
|
||||||
|
homepage = "https://github.com/zilliztech/GPTCache";
|
||||||
|
changelog = "https://github.com/zilliztech/GPTCache/releases/tag/${src.rev}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ natsukium ];
|
||||||
|
};
|
||||||
|
}
|
80
pkgs/development/python-modules/guidance/default.nix
Normal file
80
pkgs/development/python-modules/guidance/default.nix
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, aiohttp
|
||||||
|
, diskcache
|
||||||
|
, gptcache
|
||||||
|
, msal
|
||||||
|
, nest-asyncio
|
||||||
|
, numpy
|
||||||
|
, openai
|
||||||
|
, platformdirs
|
||||||
|
, pygtrie
|
||||||
|
, pyparsing
|
||||||
|
, requests
|
||||||
|
, tiktoken
|
||||||
|
, torch
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "guidance";
|
||||||
|
version = "0.0.64";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "microsoft";
|
||||||
|
repo = "guidance";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-tQpDJprxctKI88F+CZ9aSJbVo7tjmI4+VrI+WO4QlxE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
diskcache
|
||||||
|
gptcache
|
||||||
|
msal
|
||||||
|
nest-asyncio
|
||||||
|
numpy
|
||||||
|
openai
|
||||||
|
platformdirs
|
||||||
|
pygtrie
|
||||||
|
pyparsing
|
||||||
|
requests
|
||||||
|
tiktoken
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
torch
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# require network access
|
||||||
|
"test_each_parallel_with_gen_openai"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# require network access
|
||||||
|
"tests/library/test_gen.py"
|
||||||
|
"tests/library/test_include.py"
|
||||||
|
"tests/library/test_select.py"
|
||||||
|
"tests/llms/test_openai.py"
|
||||||
|
"tests/llms/test_transformers.py"
|
||||||
|
"tests/test_program.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$TMPDIR
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "guidance" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A guidance language for controlling large language models";
|
||||||
|
homepage = "https://github.com/microsoft/guidance";
|
||||||
|
changelog = "https://github.com/microsoft/guidance/releases/tag/${src.rev}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ natsukium ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,11 +2,13 @@
|
|||||||
, babel
|
, babel
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, click
|
, click
|
||||||
, deprecated
|
|
||||||
, exifread
|
, exifread
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchNpmDeps
|
||||||
, filetype
|
, filetype
|
||||||
, flask
|
, flask
|
||||||
|
, hatch-vcs
|
||||||
|
, hatchling
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, inifile
|
, inifile
|
||||||
, jinja2
|
, jinja2
|
||||||
@ -14,8 +16,10 @@
|
|||||||
, marshmallow
|
, marshmallow
|
||||||
, marshmallow-dataclass
|
, marshmallow-dataclass
|
||||||
, mistune
|
, mistune
|
||||||
|
, nodejs
|
||||||
|
, npmHooks
|
||||||
|
, pillow
|
||||||
, pip
|
, pip
|
||||||
, pyopenssl
|
|
||||||
, pytest-click
|
, pytest-click
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytest-pylint
|
, pytest-pylint
|
||||||
@ -25,15 +29,13 @@
|
|||||||
, python-slugify
|
, python-slugify
|
||||||
, pytz
|
, pytz
|
||||||
, requests
|
, requests
|
||||||
, setuptools
|
, watchfiles
|
||||||
, typing-inspect
|
|
||||||
, watchdog
|
|
||||||
, werkzeug
|
, werkzeug
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "lektor";
|
pname = "lektor";
|
||||||
version = "3.4.0b4";
|
version = "3.4.0b8";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -42,13 +44,28 @@ buildPythonPackage rec {
|
|||||||
owner = "lektor";
|
owner = "lektor";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-O0bTmJqRymrQuHW19Y7/Kp+2XlbmDzcjl/jDACDlCSk=";
|
hash = "sha256-FtmRW4AS11zAX2jvGY8XTsPrN3mhHkIWoFY7sXmqG/U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
npmDeps = fetchNpmDeps {
|
||||||
|
src = "${src}/frontend";
|
||||||
|
hash = "sha256-Z7LP9rrVSzKoLITUarsnRbrhIw7W7TZSZUgV/OT+m0M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmRoot = "frontend";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
hatch-vcs
|
||||||
|
hatchling
|
||||||
|
nodejs
|
||||||
|
npmHooks.npmConfigHook
|
||||||
|
];
|
||||||
|
|
||||||
|
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
babel
|
babel
|
||||||
click
|
click
|
||||||
deprecated
|
|
||||||
exifread
|
exifread
|
||||||
filetype
|
filetype
|
||||||
flask
|
flask
|
||||||
@ -58,17 +75,16 @@ buildPythonPackage rec {
|
|||||||
marshmallow
|
marshmallow
|
||||||
marshmallow-dataclass
|
marshmallow-dataclass
|
||||||
mistune
|
mistune
|
||||||
|
pillow
|
||||||
pip
|
pip
|
||||||
pyopenssl
|
|
||||||
python-slugify
|
python-slugify
|
||||||
pytz
|
|
||||||
requests
|
requests
|
||||||
setuptools
|
watchfiles
|
||||||
typing-inspect
|
|
||||||
watchdog
|
|
||||||
werkzeug
|
werkzeug
|
||||||
] ++ lib.optionals (pythonOlder "3.8") [
|
] ++ lib.optionals (pythonOlder "3.8") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
|
pytz
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
@ -86,8 +102,11 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test requires network access
|
# Tests require network access
|
||||||
"test_path_installed_plugin_is_none"
|
"test_path_installed_plugin_is_none"
|
||||||
|
"test_VirtualEnv_run_pip_install"
|
||||||
|
# expects FHS paths
|
||||||
|
"test_VirtualEnv_executable"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mypy-boto3-builder";
|
pname = "mypy-boto3-builder";
|
||||||
version = "7.15.1";
|
version = "7.16.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.10";
|
disabled = pythonOlder "3.10";
|
||||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
owner = "youtype";
|
owner = "youtype";
|
||||||
repo = "mypy_boto3_builder";
|
repo = "mypy_boto3_builder";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-pZBAzy1MK8Mm9QyUM5/t8JKs3q/cYOmzCWRC4H0aWjY=";
|
hash = "sha256-zqiJqjsE54mzN1/NScKeXtRa3Tt3IzSdtnmOxP4meEE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mypy-boto3-ebs";
|
pname = "mypy-boto3-ebs";
|
||||||
version = "1.27.0";
|
version = "1.28.13";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-hBFD5BNZ0OaHwL4iMLPNA916dLUBHTBl2f18/iOPsTs=";
|
hash = "sha256-GhOEPhx4zD5jXyTMH75DOq0UL4LgOMkJn0U5nKciNMI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mypy-boto3-s3";
|
pname = "mypy-boto3-s3";
|
||||||
version = "1.28.8";
|
version = "1.28.12";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-ye0X/uLA4u3rKWazeWr3s0ncxO7uVNvVmiaf25QY61U=";
|
hash = "sha256-fVSwPgvXLMH+aQ79zp7qyeKFXfuvoVOQoPUYyunigNI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nclib";
|
pname = "nclib";
|
||||||
version = "1.0.2";
|
version = "1.0.3";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-rA8oeYvMhw8HURxPLBRqpMHnAez/xBjyPFoKXIIvBjg=";
|
hash = "sha256-26KjYMxJMj5ANb2ej9hVl689sAcGHp89QUkH2xiLhZk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Project has no tests
|
# Project has no tests
|
||||||
|
@ -17,13 +17,15 @@ let
|
|||||||
version = "1.18.0";
|
version = "1.18.0";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
# to avoid breakage, every package in opentelemetry-python must inherit this version, src, and meta
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "open-telemetry";
|
owner = "open-telemetry";
|
||||||
repo = "opentelemetry-python";
|
repo = "opentelemetry-python";
|
||||||
rev = "refs/tags/v${self.version}";
|
rev = "refs/tags/v${self.version}";
|
||||||
hash = "sha256-h6XDzM29wYiC51S7OpBXvWFCfZ7DmIyGMG2pFjJV7pI=";
|
hash = "sha256-8xf4TqEkBeueejQBckFGwBNN4Gyo+/7/my6Z1Mnei5Q=";
|
||||||
sparseCheckout = [ "/${self.pname}" ];
|
};
|
||||||
} + "/${self.pname}";
|
|
||||||
|
sourceRoot = "source/opentelemetry-api";
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -55,10 +57,11 @@ let
|
|||||||
passthru.tests.${self.pname} = self.overridePythonAttrs { doCheck = true; };
|
passthru.tests.${self.pname} = self.overridePythonAttrs { doCheck = true; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://opentelemetry.io";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-api";
|
||||||
description = "OpenTelemetry Python API";
|
description = "OpenTelemetry Python API";
|
||||||
|
changelog = "https://github.com/open-telemetry/opentelemetry-python/releases/tag/${self.src.rev}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = teams.deshaw.members;
|
maintainers = teams.deshaw.members ++ [ maintainers.natsukium ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in self
|
in self
|
||||||
|
@ -1,26 +1,20 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
|
, opentelemetry-api
|
||||||
, opentelemetry-proto
|
, opentelemetry-proto
|
||||||
, opentelemetry-sdk
|
, opentelemetry-sdk
|
||||||
, opentelemetry-test-utils
|
, opentelemetry-test-utils
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-exporter-otlp-proto-common";
|
pname = "opentelemetry-exporter-otlp-proto-common";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/exporter/opentelemetry-exporter-otlp-proto-common";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-HNlkbDyYnr0/lDeY1xt0pRxqk+977ljgPdfJzAxL3AQ=";
|
|
||||||
sparseCheckout = [ "/exporter/${pname}" ];
|
|
||||||
} + "/exporter/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -40,10 +34,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.common" ];
|
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.common" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-common";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-common";
|
||||||
description = "OpenTelemetry Protobuf encoding";
|
description = "OpenTelemetry Protobuf encoding";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,29 +1,23 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, backoff
|
, backoff
|
||||||
, googleapis-common-protos
|
, googleapis-common-protos
|
||||||
, grpcio
|
, grpcio
|
||||||
, hatchling
|
, hatchling
|
||||||
|
, opentelemetry-api
|
||||||
, opentelemetry-test-utils
|
, opentelemetry-test-utils
|
||||||
, opentelemetry-exporter-otlp-proto-common
|
, opentelemetry-exporter-otlp-proto-common
|
||||||
, pytest-grpc
|
, pytest-grpc
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-exporter-otlp-proto-grpc";
|
pname = "opentelemetry-exporter-otlp-proto-grpc";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/exporter/opentelemetry-exporter-otlp-proto-grpc";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-feAmPL/G3ABIY5tBODlMJIBzxqg6Bl7imJB2EYtEp2o=";
|
|
||||||
sparseCheckout = [ "/exporter/${pname}" ];
|
|
||||||
} + "/exporter/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -49,10 +43,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.grpc" ];
|
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.grpc" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-grpc";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-grpc";
|
||||||
description = "OpenTelemetry Collector Protobuf over gRPC Exporter";
|
description = "OpenTelemetry Collector Protobuf over gRPC Exporter";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, backoff
|
, backoff
|
||||||
, googleapis-common-protos
|
, googleapis-common-protos
|
||||||
, hatchling
|
, hatchling
|
||||||
|
, opentelemetry-api
|
||||||
, opentelemetry-exporter-otlp-proto-common
|
, opentelemetry-exporter-otlp-proto-common
|
||||||
, opentelemetry-test-utils
|
, opentelemetry-test-utils
|
||||||
, requests
|
, requests
|
||||||
@ -12,18 +12,12 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-exporter-otlp-proto-http";
|
pname = "opentelemetry-exporter-otlp-proto-http";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/exporter/opentelemetry-exporter-otlp-proto-http";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-r4jvIhRM9E4CuZyS/XvvYO+F9cPxip8ab57CUfip47Q=";
|
|
||||||
sparseCheckout = [ "/exporter/${pname}" ];
|
|
||||||
} + "/exporter/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -46,10 +40,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.http" ];
|
pythonImportsCheck = [ "opentelemetry.exporter.otlp.proto.http" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-http";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-http";
|
||||||
description = "OpenTelemetry Collector Protobuf over HTTP Exporter";
|
description = "OpenTelemetry Collector Protobuf over HTTP Exporter";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,26 +1,20 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, backoff
|
, backoff
|
||||||
, hatchling
|
, hatchling
|
||||||
|
, opentelemetry-api
|
||||||
, opentelemetry-exporter-otlp-proto-grpc
|
, opentelemetry-exporter-otlp-proto-grpc
|
||||||
, opentelemetry-exporter-otlp-proto-http
|
, opentelemetry-exporter-otlp-proto-http
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-exporter-otlp";
|
pname = "opentelemetry-exporter-otlp";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/exporter/opentelemetry-exporter-otlp";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-ph9ahT6M8UBvuUJjk6nug68Ou/D7XuuXkfnKHEdD8x8=";
|
|
||||||
sparseCheckout = [ "/exporter/${pname}" ];
|
|
||||||
} + "/exporter/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -39,10 +33,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.exporter.otlp" ];
|
pythonImportsCheck = [ "opentelemetry.exporter.otlp" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp";
|
||||||
description = "OpenTelemetry Collector Exporters";
|
description = "OpenTelemetry Collector Exporters";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
, opentelemetry-sdk
|
, opentelemetry-sdk
|
||||||
@ -10,18 +9,12 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-exporter-prometheus";
|
pname = "opentelemetry-exporter-prometheus";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/exporter/opentelemetry-exporter-prometheus";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-vWVLUt3Ett04kqUyoTOBNvRj51/M35X83saBBxeOTZI=";
|
|
||||||
sparseCheckout = [ "/exporter/${pname}" ];
|
|
||||||
} + "/exporter/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -42,10 +35,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.exporter.prometheus" ];
|
pythonImportsCheck = [ "opentelemetry.exporter.prometheus" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-prometheus";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-prometheus";
|
||||||
description = "Prometheus Metric Exporter for OpenTelemetry";
|
description = "Prometheus Metric Exporter for OpenTelemetry";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
, opentelemetry-instrumentation
|
, opentelemetry-instrumentation
|
||||||
@ -12,21 +11,13 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, aiohttp
|
, aiohttp
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
pname = "opentelemetry-instrumentation-aiohttp-client";
|
|
||||||
version = "0.39b0";
|
|
||||||
in
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
inherit pname version;
|
inherit (opentelemetry-instrumentation) version src;
|
||||||
|
pname = "opentelemetry-instrumentation-aiohttp-client";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/instrumentation/opentelemetry-instrumentation-aiohttp-client";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python-contrib";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-HFDebR3d1osFAIlNuIbs5s+uPeTTJ1xkz+BpE5BpciU=";
|
|
||||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
|
||||||
} + "/instrumentation/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -54,10 +45,8 @@ buildPythonPackage {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.instrumentation.aiohttp_client" ];
|
pythonImportsCheck = [ "opentelemetry.instrumentation.aiohttp_client" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-instrumentation.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-aiohttp-client";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-aiohttp-client";
|
||||||
description = "OpenTelemetry Instrumentation for aiohttp-client";
|
description = "OpenTelemetry Instrumentation for aiohttp-client";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ happysalada ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, asgiref
|
, asgiref
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
@ -12,18 +11,12 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-instrumentation) version src;
|
||||||
pname = "opentelemetry-instrumentation-asgi";
|
pname = "opentelemetry-instrumentation-asgi";
|
||||||
version = "0.39b0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/instrumentation/opentelemetry-instrumentation-asgi";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python-contrib";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-BfNrbOQwyApdcKOVGF0LqzWOxzLkHZYiYdYVVPkGmdQ=";
|
|
||||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
|
||||||
} + "/instrumentation/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -46,10 +39,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.instrumentation.asgi" ];
|
pythonImportsCheck = [ "opentelemetry.instrumentation.asgi" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-instrumentation.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-asgi";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-asgi";
|
||||||
description = "ASGI instrumentation for OpenTelemetry";
|
description = "ASGI instrumentation for OpenTelemetry";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, django
|
, django
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
@ -14,18 +13,12 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-instrumentation) version src;
|
||||||
pname = "opentelemetry-instrumentation-django";
|
pname = "opentelemetry-instrumentation-django";
|
||||||
version = "0.39b0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/instrumentation/opentelemetry-instrumentation-django";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python-contrib";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-5tyLFQTYuJBFAFZirqsaHXCw72Q3TigDctZZFi/2zdI=";
|
|
||||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
|
||||||
} + "/instrumentation/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -50,10 +43,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.instrumentation.django" ];
|
pythonImportsCheck = [ "opentelemetry.instrumentation.django" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-instrumentation.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-django";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-django";
|
||||||
description = "OpenTelemetry Instrumentation for Django";
|
description = "OpenTelemetry Instrumentation for Django";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
, opentelemetry-instrumentation
|
, opentelemetry-instrumentation
|
||||||
@ -13,18 +12,12 @@
|
|||||||
, grpcio
|
, grpcio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-instrumentation) version src;
|
||||||
pname = "opentelemetry-instrumentation-grpc";
|
pname = "opentelemetry-instrumentation-grpc";
|
||||||
version = "0.39b0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/instrumentation/opentelemetry-instrumentation-grpc";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python-contrib";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-DkDAE0MsF9HdywxlFzqJaqNor4O/jpnSqINsKTuiVqU=";
|
|
||||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
|
||||||
} + "/instrumentation/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -52,10 +45,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.instrumentation.grpc" ];
|
pythonImportsCheck = [ "opentelemetry.instrumentation.grpc" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-instrumentation.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc";
|
||||||
description = "OpenTelemetry Instrumentation for grpc";
|
description = "OpenTelemetry Instrumentation for grpc";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ happysalada ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
, opentelemetry-instrumentation
|
, opentelemetry-instrumentation
|
||||||
@ -11,18 +10,12 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-instrumentation) version src;
|
||||||
pname = "opentelemetry-instrumentation-wsgi";
|
pname = "opentelemetry-instrumentation-wsgi";
|
||||||
version = "0.39b0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/instrumentation/opentelemetry-instrumentation-wsgi";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python-contrib";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-DBZGXY8Y208YC/guk0qUB04UA/JFAtiv3kjsikskTRs=";
|
|
||||||
sparseCheckout = [ "/instrumentation/${pname}" ];
|
|
||||||
} + "/instrumentation/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -44,10 +37,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.instrumentation.wsgi" ];
|
pythonImportsCheck = [ "opentelemetry.instrumentation.wsgi" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-instrumentation.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-wsgi";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-wsgi";
|
||||||
description = "WSGI Middleware for OpenTelemetry";
|
description = "WSGI Middleware for OpenTelemetry";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -16,13 +16,15 @@ buildPythonPackage rec {
|
|||||||
version = "0.39b0";
|
version = "0.39b0";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
# to avoid breakage, every package in opentelemetry-python-contrib must inherit this version, src, and meta
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "open-telemetry";
|
owner = "open-telemetry";
|
||||||
repo = "opentelemetry-python-contrib";
|
repo = "opentelemetry-python-contrib";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-+zk76A640nyd1L0I55JrMMs7EnQ+SPQdYGAFIyQFc6E=";
|
hash = "sha256-MPBOdurEQhA9BPRgVftejjtkvN/zRQEJDjQcS2QW3xc=";
|
||||||
sparseCheckout = [ "/${pname}" ];
|
};
|
||||||
} + "/${pname}";
|
|
||||||
|
sourceRoot = "source/opentelemetry-instrumentation";
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -47,7 +49,8 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation";
|
||||||
description = "Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python";
|
description = "Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python";
|
||||||
|
changelog = "https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/${src.rev}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = teams.deshaw.members;
|
maintainers = teams.deshaw.members ++ [ maintainers.natsukium ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,18 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
|
, opentelemetry-api
|
||||||
, protobuf
|
, protobuf
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-proto";
|
pname = "opentelemetry-proto";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/opentelemetry-proto";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-6iB+QlBUqRvIJ9p38NYgP4icW2rYs1P3bNCxI95cOvs=";
|
|
||||||
sparseCheckout = [ "/${pname}" ];
|
|
||||||
} + "/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -36,10 +30,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.proto" ];
|
pythonImportsCheck = [ "opentelemetry.proto" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-proto";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-proto";
|
||||||
description = "OpenTelemetry Python Proto";
|
description = "OpenTelemetry Python Proto";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, flaky
|
, flaky
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
@ -14,17 +13,11 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
self = buildPythonPackage {
|
self = buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-sdk";
|
pname = "opentelemetry-sdk";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/opentelemetry-sdk";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${self.version}";
|
|
||||||
hash = "sha256-YMFSmzuvm/VA9Fpe7pbF9mnGQHOQpobWMb1iGRt+d3w=";
|
|
||||||
sparseCheckout = [ "/${self.pname}" ];
|
|
||||||
} + "/${self.pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -56,11 +49,9 @@ let
|
|||||||
# Enable tests via passthru to avoid cyclic dependency with opentelemetry-test-utils.
|
# Enable tests via passthru to avoid cyclic dependency with opentelemetry-test-utils.
|
||||||
passthru.tests.${self.pname} = self.overridePythonAttrs { doCheck = true; };
|
passthru.tests.${self.pname} = self.overridePythonAttrs { doCheck = true; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://opentelemetry.io";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-sdk";
|
||||||
description = "OpenTelemetry Python API and SDK";
|
description = "OpenTelemetry Python SDK";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in self
|
in self
|
||||||
|
@ -1,23 +1,17 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
|
, opentelemetry-api
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-semantic-conventions";
|
pname = "opentelemetry-semantic-conventions";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/opentelemetry-semantic-conventions";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-82L/tDoWgu0r+Li3CS3hjVR99DQQmA5yt3y85+37imI=";
|
|
||||||
sparseCheckout = [ "/${pname}" ];
|
|
||||||
} + "/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -31,10 +25,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.semconv" ];
|
pythonImportsCheck = [ "opentelemetry.semconv" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-semantic-conventions";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-semantic-conventions";
|
||||||
description = "OpenTelemetry Semantic Conventions";
|
description = "OpenTelemetry Semantic Conventions";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,25 +2,18 @@
|
|||||||
, callPackage
|
, callPackage
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, asgiref
|
, asgiref
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-api
|
, opentelemetry-api
|
||||||
, opentelemetry-sdk
|
, opentelemetry-sdk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-api) version src;
|
||||||
pname = "opentelemetry-test-utils";
|
pname = "opentelemetry-test-utils";
|
||||||
version = "1.18.0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/tests/opentelemetry-test-utils";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-WRcKTE3eVqOSQUi5gZ3du+RGw8CrMazXHrctdrjgzHo=";
|
|
||||||
sparseCheckout = [ "/tests/${pname}" ];
|
|
||||||
} + "/tests/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -36,10 +29,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.test" ];
|
pythonImportsCheck = [ "opentelemetry.test" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-api.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/tests/opentelemetry-test-utils";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/tests/opentelemetry-test-utils";
|
||||||
description = "Test utilities for OpenTelemetry unit tests";
|
description = "Test utilities for OpenTelemetry unit tests";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
|
||||||
, hatchling
|
, hatchling
|
||||||
, opentelemetry-instrumentation
|
, opentelemetry-instrumentation
|
||||||
, opentelemetry-sdk
|
, opentelemetry-sdk
|
||||||
@ -10,18 +9,12 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
|
inherit (opentelemetry-instrumentation) version src;
|
||||||
pname = "opentelemetry-util-http";
|
pname = "opentelemetry-util-http";
|
||||||
version = "0.39b0";
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
sourceRoot = "source/util/opentelemetry-util-http";
|
||||||
owner = "open-telemetry";
|
|
||||||
repo = "opentelemetry-python-contrib";
|
|
||||||
rev = "refs/tags/v${version}";
|
|
||||||
hash = "sha256-C20/M5wimQec/8tTKx7+jkIYgfgNPtU9lkPKliIM3Uk=";
|
|
||||||
sparseCheckout = [ "/util/${pname}" ];
|
|
||||||
} + "/util/${pname}";
|
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -42,10 +35,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "opentelemetry.util.http" ];
|
pythonImportsCheck = [ "opentelemetry.util.http" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = opentelemetry-instrumentation.meta // {
|
||||||
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/util/opentelemetry-util-http";
|
homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/util/opentelemetry-util-http";
|
||||||
description = "Web util for OpenTelemetry";
|
description = "Web util for OpenTelemetry";
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = teams.deshaw.members;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "plugwise";
|
pname = "plugwise";
|
||||||
version = "0.31.8";
|
version = "0.31.9";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||||||
owner = pname;
|
owner = pname;
|
||||||
repo = "python-plugwise";
|
repo = "python-plugwise";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-glC/2bpjw0SKE6EezWLk9a4otBU21JSxsbIE5/LBGnY=";
|
hash = "sha256-IRetWNKVzWsrHOphdgV5xmdiubwDx8KOUA7x+BmTt9A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.3.6";
|
version = "0.3.7";
|
||||||
pname = "potentials";
|
pname = "potentials";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-VEPGa3Wp+B3KterfA5XGjaDf6sIAkSST0GWdeqaJcE0=";
|
hash = "sha256-vkrNVRf9ntYSpf8nXmAmGjc+sQ4iFllisYHd9s+uQv0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -23,14 +23,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "PyQt6";
|
pname = "PyQt6";
|
||||||
version = "6.5.1";
|
version = "6.5.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-4WagVownvMjbACcaUEOTYiZpC2pKdM4KXK60CAQKl8M=";
|
hash = "sha256-FIfuc1D5/7ZtYKtBdlGSUsKzcXYsvo+DQP2VH2OAEoA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -10,15 +10,15 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "smart-meter-texas";
|
pname = "smart-meter-texas";
|
||||||
version = "0.5.1";
|
version = "0.5.3";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grahamwetzler";
|
owner = "grahamwetzler";
|
||||||
repo = "smart-meter-texas";
|
repo = "smart-meter-texas";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-rjMRV5MekwRkipes2nWos/1zi3sD+Ls8LyD3+t5FOZc=";
|
hash = "sha256-8htd5fLrtkaVlSEm+RB7tWA5YZkcAOjAXVNzZiMwP7k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "yabadaba";
|
pname = "yabadaba";
|
||||||
version = "0.2.0";
|
version = "0.2.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "usnistgov";
|
owner = "usnistgov";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-PXmkRbCFag2WAtodwgb3kX+hRDZdCKKi/YwAMSQePxQ=";
|
hash = "sha256-D3dzO+vhf1utBMmX2RUgvxuaPneFnXDseqfz6CMDmv4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -715,7 +715,7 @@ let
|
|||||||
MEDIA_PCI_SUPPORT = yes;
|
MEDIA_PCI_SUPPORT = yes;
|
||||||
MEDIA_USB_SUPPORT = yes;
|
MEDIA_USB_SUPPORT = yes;
|
||||||
MEDIA_ANALOG_TV_SUPPORT = yes;
|
MEDIA_ANALOG_TV_SUPPORT = yes;
|
||||||
VIDEO_STK1160_COMMON = module;
|
VIDEO_STK1160_COMMON = whenOlder "6.5" module;
|
||||||
};
|
};
|
||||||
|
|
||||||
"9p" = {
|
"9p" = {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "6.4-rc7";
|
version = "6.5-rc3";
|
||||||
extraMeta.branch = lib.versions.majorMinor version;
|
extraMeta.branch = lib.versions.majorMinor version;
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will always add .0
|
# modDirVersion needs to be x.y.z, will always add .0
|
||||||
@ -11,7 +11,7 @@ buildLinux (args // rec {
|
|||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
||||||
hash = "sha256-UDhLrKe8yMvmWbS19Xt1G3SQpAUWyKrfV3v1MJ5Vep8=";
|
hash = "sha256-z4y4eNkY458rxebey3eCG0CUDLJP9oQETVlH8Av3Lhs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Should the testing kernels ever be built on Hydra?
|
# Should the testing kernels ever be built on Hydra?
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{ lib, stdenv, pkgs, fetchFromGitHub, runCommand, buildNpmPackage, nodejs_18, tone, ffmpeg-full, util-linux, libwebp }:
|
{ lib, stdenv, pkgs, fetchFromGitHub, runCommand, buildNpmPackage, nodejs_18, tone, ffmpeg-full, util-linux, python3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
nodejs = nodejs_18;
|
nodejs = nodejs_18;
|
||||||
|
|
||||||
pname = "audiobookshelf";
|
pname = "audiobookshelf";
|
||||||
version = "2.2.23";
|
version = "2.3.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "advplyr";
|
owner = "advplyr";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-dmeqxXrVKXFIYI5/CBvGN5wAssY2DC6fIRDr2+0EL+I=";
|
sha256 = "sha256-wSIA2KKDKf3DNgYNNIyYNT8xyPWCZvwLcWuDhWOZpLs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
client = buildNpmPackage {
|
client = buildNpmPackage {
|
||||||
@ -24,7 +24,7 @@ let
|
|||||||
NODE_OPTIONS = "--openssl-legacy-provider";
|
NODE_OPTIONS = "--openssl-legacy-provider";
|
||||||
|
|
||||||
npmBuildScript = "generate";
|
npmBuildScript = "generate";
|
||||||
npmDepsHash = "sha256-W4S8+4V4CrU9b+nbuH3+kKQKlIkOT9i72+YAWO/3gCQ=";
|
npmDepsHash = "sha256-s3CwGFK87podBJwAqh7JoMA28vnmf77iexrAbbwZlFk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
wrapper = import ./wrapper.nix {
|
wrapper = import ./wrapper.nix {
|
||||||
@ -35,10 +35,11 @@ in buildNpmPackage {
|
|||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
|
|
||||||
buildInputs = [ util-linux ];
|
buildInputs = [ util-linux ];
|
||||||
|
nativeBuildInputs = [ python3 ];
|
||||||
|
|
||||||
dontNpmBuild = true;
|
dontNpmBuild = true;
|
||||||
npmInstallFlags = [ "--only-production" ];
|
npmInstallFlags = [ "--only-production" ];
|
||||||
npmDepsHash = "sha256-XBQNLcFHq6U/yknlXiIEGulTDTw1wLBnhEi3h5dtBuE=";
|
npmDepsHash = "sha256-gueSlQh4tRTjIWvpNG2cj1np/zUGbjsnv3fA2owtiQY=";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/opt/client
|
mkdir -p $out/opt/client
|
||||||
|
@ -8,14 +8,13 @@
|
|||||||
, perl
|
, perl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "spigot";
|
pname = "spigot";
|
||||||
version = "20210527";
|
version = "20220606.eb585f8";
|
||||||
srcVersion = "20210527.7dd3cfd";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/${pname}-${srcVersion}.tar.gz";
|
url = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/spigot-${finalAttrs.version}.tar.gz";
|
||||||
hash = "sha256-EBS3lgfLtsyBQ8mzoJPyZhRBJNmkVSeF5XecGgcvqtw=";
|
hash = "sha256-JyNNZo/HUPWv5rYtlNYp8Hl0C7i3yxEyKm+77ysN7Ao=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -33,22 +32,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
doInstallCheck = true;
|
meta = {
|
||||||
installCheckPhase = ''
|
|
||||||
runHook preInstallCheck
|
|
||||||
|
|
||||||
[ `$out/bin/spigot -b 10 -d 10 e` == "2.7182818284" ] || exit 1
|
|
||||||
[ `$out/bin/spigot -b 10 -d 10 pi` == "3.1415926535" ] || exit 1
|
|
||||||
[ `$out/bin/spigot -b 10 -d 10 sqrt\(2\)` == "1.4142135623" ] || exit 1
|
|
||||||
|
|
||||||
runHook postInstallCheck
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/";
|
homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/";
|
||||||
description = "A command-line exact real calculator";
|
description = "A command-line exact real calculator";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ AndersonTorres mcbeth ];
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -13,13 +13,13 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "starship";
|
pname = "starship";
|
||||||
version = "1.15.0";
|
version = "1.16.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "starship";
|
owner = "starship";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-aINiWzkt4sAWgcGdkHTb2KRMh2z+LiOhDdTJbzbXwR4=";
|
hash = "sha256-CrD65nHE40n83HO+4QM1sLHvdFaqTvOb96hPBgXKuwk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles cmake ];
|
nativeBuildInputs = [ installShellFiles cmake ];
|
||||||
@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
--zsh <($out/bin/starship completions zsh)
|
--zsh <($out/bin/starship completions zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cargoHash = "sha256-XT2kgiITtG1FNyztNvos/r01pvdF1xPhHA4+YhFGFEU=";
|
cargoHash = "sha256-ZHHrpepKZnSGufyEAjNDozaIKAt2GFRt+hU2ej7LceA=";
|
||||||
|
|
||||||
nativeCheckInputs = [ git ];
|
nativeCheckInputs = [ git ];
|
||||||
|
|
||||||
|
@ -5,16 +5,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "amass";
|
pname = "amass";
|
||||||
version = "4.0.4";
|
version = "4.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OWASP";
|
owner = "OWASP";
|
||||||
repo = "Amass";
|
repo = "Amass";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-KzMpe6pSPCNlk4fhZUZ1dvcj2Vgk8gHbEhVwlxOFKFg=";
|
hash = "sha256-mNoz9kVW+fwmur6SGWcpH9XYCYxasZJM0Bu4Bd4XMek=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-YdHJMUgVNUAREmvBDQl8p5ESOmJykheaQSU6asyZ7qc=";
|
vendorHash = "sha256-rX84qTlvPyDWVvHmpIVCP50yy+m+s/VtffORL+G/3kg=";
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
"out"
|
"out"
|
||||||
|
30
pkgs/tools/text/to-html/default.nix
Normal file
30
pkgs/tools/text/to-html/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
version = "0.1.4";
|
||||||
|
pname = "to-html";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Aloso";
|
||||||
|
repo = "to-html";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-zkTBjsMFhRz7lVRh8i+XkaJ/qWmTAMPnkH5aDhbHf8U=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-hXc+lB3DKnRZkp1U5wW/vPKSZ0c1UknQCAxDfE7Eubg=";
|
||||||
|
|
||||||
|
# Requires external resources
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Terminal wrapper for rendering a terminal on a website by converting ANSI escape sequences to HTML.";
|
||||||
|
homepage = "https://github.com/Aloso/to-html";
|
||||||
|
changelog = "https://github.com/Aloso/to-html/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
maintainers = with lib.maintainers; [ icewind1991 ];
|
||||||
|
};
|
||||||
|
}
|
@ -13591,6 +13591,8 @@ with pkgs;
|
|||||||
|
|
||||||
tncattach = callPackage ../applications/radio/tncattach { };
|
tncattach = callPackage ../applications/radio/tncattach { };
|
||||||
|
|
||||||
|
to-html = callPackage ../tools/text/to-html { };
|
||||||
|
|
||||||
toilet = callPackage ../tools/misc/toilet { };
|
toilet = callPackage ../tools/misc/toilet { };
|
||||||
|
|
||||||
tokei = callPackage ../development/tools/misc/tokei {
|
tokei = callPackage ../development/tools/misc/tokei {
|
||||||
@ -17856,7 +17858,8 @@ with pkgs;
|
|||||||
ruby_2_7
|
ruby_2_7
|
||||||
ruby_3_0
|
ruby_3_0
|
||||||
ruby_3_1
|
ruby_3_1
|
||||||
ruby_3_2;
|
ruby_3_2
|
||||||
|
ruby_3_3;
|
||||||
|
|
||||||
ruby = ruby_3_1;
|
ruby = ruby_3_1;
|
||||||
rubyPackages = rubyPackages_3_1;
|
rubyPackages = rubyPackages_3_1;
|
||||||
@ -17865,6 +17868,7 @@ with pkgs;
|
|||||||
rubyPackages_3_0 = recurseIntoAttrs ruby_3_0.gems;
|
rubyPackages_3_0 = recurseIntoAttrs ruby_3_0.gems;
|
||||||
rubyPackages_3_1 = recurseIntoAttrs ruby_3_1.gems;
|
rubyPackages_3_1 = recurseIntoAttrs ruby_3_1.gems;
|
||||||
rubyPackages_3_2 = recurseIntoAttrs ruby_3_2.gems;
|
rubyPackages_3_2 = recurseIntoAttrs ruby_3_2.gems;
|
||||||
|
rubyPackages_3_3 = recurseIntoAttrs ruby_3_3.gems;
|
||||||
|
|
||||||
mruby = callPackage ../development/compilers/mruby { };
|
mruby = callPackage ../development/compilers/mruby { };
|
||||||
|
|
||||||
|
@ -4458,6 +4458,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
gpt-2-simple = callPackage ../development/python-modules/gpt-2-simple { };
|
gpt-2-simple = callPackage ../development/python-modules/gpt-2-simple { };
|
||||||
|
|
||||||
|
gptcache = callPackage ../development/python-modules/gptcache { };
|
||||||
|
|
||||||
gql = callPackage ../development/python-modules/gql { };
|
gql = callPackage ../development/python-modules/gql { };
|
||||||
|
|
||||||
grad-cam = callPackage ../development/python-modules/grad-cam { };
|
grad-cam = callPackage ../development/python-modules/grad-cam { };
|
||||||
@ -4583,6 +4585,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
gudhi = callPackage ../development/python-modules/gudhi { };
|
gudhi = callPackage ../development/python-modules/gudhi { };
|
||||||
|
|
||||||
|
guidance = callPackage ../development/python-modules/guidance { };
|
||||||
|
|
||||||
gumath = callPackage ../development/python-modules/gumath { };
|
gumath = callPackage ../development/python-modules/gumath { };
|
||||||
|
|
||||||
gunicorn = callPackage ../development/python-modules/gunicorn { };
|
gunicorn = callPackage ../development/python-modules/gunicorn { };
|
||||||
|
Loading…
Reference in New Issue
Block a user