nixpkgs/pkgs/development/python-modules/datrie/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
716 B
Nix
Raw Normal View History

2021-07-05 20:36:19 +00:00
{ lib
, buildPythonPackage
, fetchPypi
2023-07-13 09:05:45 +00:00
, setuptools
2021-07-05 20:36:19 +00:00
, cython
, pytestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "datrie";
2021-07-05 20:36:19 +00:00
version = "0.8.2";
2023-07-13 09:05:45 +00:00
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-UlsI9jjVz2EV32zNgY5aASmM0jCy2skcj/LmSZ0Ydl0=";
};
2021-07-05 20:36:19 +00:00
nativeBuildInputs = [
2023-07-13 09:05:45 +00:00
setuptools
2021-07-05 20:36:19 +00:00
cython
2019-04-10 18:16:23 +00:00
];
2023-07-13 09:05:45 +00:00
nativeCheckInputs = [
2021-07-05 20:36:19 +00:00
pytestCheckHook
];
2023-07-13 09:05:45 +00:00
checkInputs = [
hypothesis
];
2021-07-05 20:36:19 +00:00
pythonImportsCheck = [ "datrie" ];
meta = with lib; {
description = "Super-fast, efficiently stored Trie for Python";
homepage = "https://github.com/kmike/datrie";
2021-07-05 20:36:19 +00:00
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ lewo ];
};
}