Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
928 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchPypi, setuptools, wheel, cython, pytestCheckHook, hypothesis,}:
buildPythonPackage rec { pname = "datrie"; version = "0.8.2"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-UlsI9jjVz2EV32zNgY5aASmM0jCy2skcj/LmSZ0Ydl0="; };
postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner", ' "" '';
dependencies = [ setuptools wheel cython ];
# workaround https://github.com/pytries/datrie/issues/101 env.CFLAGS = "-Wno-error=incompatible-pointer-types";
nativeCheckInputs = [ hypothesis pytestCheckHook ];
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 ]; };}