Unverified Commit 1b168b93 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python313Packages.hibpwned: init at 1.3.9 (#508429)

parents 6635a228 5da35a23
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -7014,6 +7014,8 @@ self: super: with self; {
  hg-git = callPackage ../development/python-modules/hg-git { };
  hibpwned = callPackage ../development/python-modules/hibpwned { };
  hickle = callPackage ../development/python-modules/hickle { };
  hid = callPackage ../development/python-modules/hid { inherit (pkgs) hidapi; };