depot/third_party/nixpkgs/pkgs/development/python-modules/datrie/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

41 lines
716 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, cython
, pytestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "datrie";
version = "0.8.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-UlsI9jjVz2EV32zNgY5aASmM0jCy2skcj/LmSZ0Ydl0=";
};
nativeBuildInputs = [
setuptools
cython
];
nativeCheckInputs = [
pytestCheckHook
];
checkInputs = [
hypothesis
];
pythonImportsCheck = [ "datrie" ];
meta = with lib; {
description = "Super-fast, efficiently stored Trie for Python";
homepage = "https://github.com/kmike/datrie";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ lewo ];
};
}