Commit 07538cfd authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pyprobables: init at 0.6.0

Probabilistic data structures

https://github.com/barrust/pyprobables
parent 9aa2c781
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "pyprobables";
  version = "0.6.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "barrust";
    repo = "pyprobables";
    rev = "refs/tags/v${version}";
    hash = "sha256-maikrZlBzhv35zPXmKqdJzAz6eZDmluLUvkOkaPTCDU=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "probables"
  ];

  meta = with lib; {
    description = "Probabilistic data structures";
    homepage = "https://github.com/barrust/pyprobables";
    changelog = "https://github.com/barrust/pyprobables/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -9327,6 +9327,8 @@ self: super: with self; {
  pyprecice = callPackage ../development/python-modules/pyprecice { };
  pyprobables = callPackage ../development/python-modules/pyprobables { };
  pyproject-api = callPackage ../development/python-modules/pyproject-api { };
  pyproject-hooks = callPackage ../development/python-modules/pyproject-hooks { };