mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
python311Packages.pyprobables: init at 0.6.0
Probabilistic data structures https://github.com/barrust/pyprobables
This commit is contained in:
parent
9aa2c781aa
commit
07538cfddf
42
pkgs/development/python-modules/pyprobables/default.nix
Normal file
42
pkgs/development/python-modules/pyprobables/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user