Unverified Commit bdb0e867 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #243231 from NickCao/datrie

python3Packages.datrie: set format
parents 5c5832bc 296e58b8
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, cython
, pytestCheckHook
, hypothesis
@@ -9,6 +10,7 @@
buildPythonPackage rec {
  pname = "datrie";
  version = "0.8.2";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
@@ -16,17 +18,17 @@ buildPythonPackage rec {
  };

  nativeBuildInputs = [
    setuptools
    cython
  ];

  buildInputs = [
    hypothesis
  nativeCheckInputs = [
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace setup.py --replace '"pytest-runner", ' ""
  '';
  checkInputs = [
    hypothesis
  ];

  pythonImportsCheck = [ "datrie" ];