Files
nixpkgs/pkgs/development/python-modules/hibpwned/default.nix
Fabian Affolter 5da35a230a python313Packages.hibpwned: init at 1.3.9
Python API wrapper for haveibeenpwned.com

https://github.com/plasticuproject/hibpwned
2026-04-09 22:51:02 +02:00

38 lines
847 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "hibpwned";
version = "1.3.9";
pyproject = true;
src = fetchFromGitHub {
owner = "plasticuproject";
repo = "hibpwned";
tag = finalAttrs.version;
hash = "sha256-d3EhRu7HcvbyjWWHVSax0j39yE4+hJp8zvtyRKoh4sY=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Test require network access
doCheck = false;
pythonImportsCheck = [ "hibpwned" ];
meta = {
description = "Python API wrapper for haveibeenpwned.com";
homepage = "https://github.com/plasticuproject/hibpwned";
changelog = "https://github.com/plasticuproject/hibpwned/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
})