nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 764 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pyprobables"; 11 version = "0.6.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "barrust"; 16 repo = "pyprobables"; 17 tag = "v${version}"; 18 hash = "sha256-CxxpiYtqoAm81YjL6nTFIk4MnBG+1n3wbnW8u29lQlw="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "probables" ]; 26 27 meta = { 28 description = "Probabilistic data structures"; 29 homepage = "https://github.com/barrust/pyprobables"; 30 changelog = "https://github.com/barrust/pyprobables/blob/${src.tag}/CHANGELOG.md"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}