push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
setuptools,
fetchPypi,
pythonOlder,
cffi,
pytestCheckHook,
six,
}:
buildPythonPackage rec {
pname = "bcrypt";
version = "3.2.2";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-QzxBDCF3BXcF2iqfLNAd0VdJOyp6wUyFk6FrPatra/s=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
six
cffi
];
propagatedNativeBuildInputs = [ cffi ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bcrypt" ];
meta = with lib; {
description = "Modern password hashing for your software and your servers";
homepage = "https://github.com/pyca/bcrypt/";
license = licenses.asl20;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,76 @@
{
lib,
buildPythonPackage,
cargo,
rustPlatform,
rustc,
setuptools,
setuptoolsRustBuildHook,
fetchPypi,
pythonOlder,
pytestCheckHook,
libiconv,
stdenv,
# for passthru.tests
asyncssh,
django_4,
fastapi,
paramiko,
twisted,
}:
buildPythonPackage rec {
pname = "bcrypt";
version = "4.3.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-Oj/SIEF4ttKtzwnLT2Qm/+9UdiV3p8m1TBWQCMsojBg=";
};
cargoRoot = "src/_bcrypt";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit
pname
version
src
cargoRoot
;
hash = "sha256-HgHvfMBspPsSYhllnKBg5XZB6zxFIqJj+4//xKG8HwA=";
};
nativeBuildInputs = [
setuptools
setuptoolsRustBuildHook
rustPlatform.cargoSetupHook
cargo
rustc
];
# Remove when https://github.com/NixOS/nixpkgs/pull/190093 lands.
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bcrypt" ];
passthru.tests = {
inherit
asyncssh
django_4
fastapi
paramiko
twisted
;
};
meta = with lib; {
description = "Modern password hashing for your software and your servers";
homepage = "https://github.com/pyca/bcrypt/";
license = licenses.asl20;
maintainers = [ ];
};
}