Unverified Commit 86daa71f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.base58: refactor (#350780)

parents 14594a78 a9df3a0f
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -5,19 +5,23 @@
  pyhamcrest,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "base58";
  version = "2.1.1";
  format = "setuptools";
  disabled = pythonOlder "3.5";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c5d0cb3f5b6e81e8e35da5754388ddcc6d0d14b6c6a132cb93d69ed580a7278c";
    hash = "sha256-xdDLP1tugejjXaV1Q4jdzG0NFLbGoTLLk9ae1YCnJ4w=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [
    pyhamcrest
    pytestCheckHook
@@ -33,9 +37,10 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Base58 and Base58Check implementation";
    mainProgram = "base58";
    homepage = "https://github.com/keis/base58";
    changelog = "https://github.com/keis/base58/blob/v${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ nyanloutre ];
    mainProgram = "base58";
  };
}