mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
Merge pull request #243231 from NickCao/datrie
python3Packages.datrie: set format
This commit is contained in:
commit
bdb0e867ca
|
@ -1,6 +1,7 @@
|
|||
{ 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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue