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
45 lines
802 B
Nix
45 lines
802 B
Nix
{
|
|
hypothesis,
|
|
pytestCheckHook,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
lib,
|
|
hatchling,
|
|
hatch-vcs,
|
|
hatch-fancy-pypi-readme,
|
|
argon2-cffi-bindings,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "argon2-cffi";
|
|
version = "25.1.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "argon2_cffi";
|
|
inherit version;
|
|
hash = "sha256-aUrlzIpC9MTivyyg5k5R4joEDGpReoUHRoPTlZ4TRsE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatchling
|
|
hatch-vcs
|
|
hatch-fancy-pypi-readme
|
|
];
|
|
|
|
propagatedBuildInputs = [ argon2-cffi-bindings ];
|
|
|
|
nativeCheckInputs = [
|
|
hypothesis
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "argon2" ];
|
|
|
|
meta = with lib; {
|
|
description = "Secure Password Hashes for Python";
|
|
homepage = "https://argon2-cffi.readthedocs.io/";
|
|
license = licenses.mit;
|
|
};
|
|
}
|