-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python312Packages.wandb: 0.16.0 -> 0.18.5 (#350098)
- Loading branch information
Showing
5 changed files
with
350 additions
and
261 deletions.
There are no files selected for viewing
34 changes: 25 additions & 9 deletions
34
pkgs/development/python-modules/docker-pycreds/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,44 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchPypi, | ||
fetchFromGitHub, | ||
setuptools, | ||
six, | ||
pythonAtLeast, | ||
distutils, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "docker-pycreds"; | ||
version = "0.4.0"; | ||
format = "setuptools"; | ||
pyproject = true; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4"; | ||
src = fetchFromGitHub { | ||
owner = "shin-"; | ||
repo = "dockerpy-creds"; | ||
rev = "refs/tags/${version}"; | ||
hash = "sha256-yYsMsRW6Bb8vmwT0mPjs0pRqBbznGtHnGb3JNHjLjys="; | ||
}; | ||
|
||
build-system = [ | ||
setuptools | ||
]; | ||
|
||
dependencies = | ||
[ six ] | ||
++ lib.optionals (pythonAtLeast "3.12") [ | ||
distutils | ||
]; | ||
|
||
pythonImportsCheck = [ "dockerpycreds" ]; | ||
|
||
# require docker-credential-helpers binaries | ||
doCheck = false; | ||
|
||
propagatedBuildInputs = [ six ]; | ||
|
||
meta = with lib; { | ||
meta = { | ||
description = "Python bindings for the docker credentials store API"; | ||
homepage = "https://github.com/shin-/dockerpy-creds"; | ||
license = licenses.asl20; | ||
license = lib.licenses.asl20; | ||
maintainers = with lib.maintainers; [ GaetanLepage ]; | ||
}; | ||
} |
69 changes: 69 additions & 0 deletions
69
pkgs/development/python-modules/kubernetes-asyncio/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
lib, | ||
buildPythonPackage, | ||
fetchFromGitHub, | ||
coreutils, | ||
|
||
# build-system | ||
setuptools, | ||
|
||
# dependencies | ||
aiohttp, | ||
certifi, | ||
python-dateutil, | ||
pyyaml, | ||
six, | ||
urllib3, | ||
|
||
# tests | ||
pytestCheckHook, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "kubernetes-asyncio"; | ||
version = "31.1.0"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "tomplus"; | ||
repo = "kubernetes_asyncio"; | ||
rev = "refs/tags/${version}"; | ||
hash = "sha256-YKBqhUeLqLiQ6bK235zTm4salnSLUxl4DUiFLQSjWqw="; | ||
}; | ||
|
||
postPatch = '' | ||
substituteInPlace kubernetes_asyncio/config/google_auth_test.py \ | ||
--replace-fail "/bin/echo" "${lib.getExe' coreutils "echo"}" | ||
''; | ||
|
||
build-system = [ | ||
setuptools | ||
]; | ||
|
||
dependencies = [ | ||
aiohttp | ||
certifi | ||
python-dateutil | ||
pyyaml | ||
six | ||
urllib3 | ||
]; | ||
|
||
pythonImportsCheck = [ | ||
"kubernetes_asyncio" | ||
]; | ||
|
||
nativeCheckInputs = [ | ||
pytestCheckHook | ||
]; | ||
|
||
__darwinAllowLocalNetworking = true; | ||
|
||
meta = { | ||
description = "Python asynchronous client library for Kubernetes http://kubernetes.io"; | ||
homepage = "https://github.com/tomplus/kubernetes_asyncio"; | ||
changelog = "https://github.com/tomplus/kubernetes_asyncio/blob/${src.rev}/CHANGELOG.md"; | ||
license = lib.licenses.asl20; | ||
maintainers = with lib.maintainers; [ GaetanLepage ]; | ||
}; | ||
} |
Oops, something went wrong.