Unverified Commit 86a0857c authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #268897 from fabaff/xkcdpass-bump

python311Packages.xkcdpass: 1.19.5 -> 1.19.6
parents 20953fd9 5adcb43d
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, installShellFiles
, pytestCheckHook
, pythonAtLeast
@@ -10,24 +9,16 @@

buildPythonPackage rec {
  pname = "xkcdpass";
  version = "1.19.5";
  version = "1.19.6";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-zEgC3tTQ6kwDovHPHRTvYndWVF79DpnAX454VDZiedE=";
    hash = "sha256-zrdR4KuORCGIoRTZDednT9JDV/seWQRa3aPal8gxdTE=";
  };

  patches = [
    (fetchpatch {
      name = "fix-non-deterministic-test.patch";
      url = "https://github.com/redacted/XKCD-password-generator/commit/72d174a82822af1934c94de1b66fd956230142f5.patch";
      hash = "sha256-GES40GHM0+Zx8bRceCy9/fOHJVlWZ7TCLfzhZczjfTE=";
    })
  ];

  nativeBuildInputs = [
    installShellFiles
  ];