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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, setuptools
|
||||||
, cython
|
, cython
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, hypothesis
|
, hypothesis
|
||||||
|
@ -9,6 +10,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "datrie";
|
pname = "datrie";
|
||||||
version = "0.8.2";
|
version = "0.8.2";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -16,17 +18,17 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
cython
|
cython
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
nativeCheckInputs = [
|
||||||
hypothesis
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
checkInputs = [
|
||||||
substituteInPlace setup.py --replace '"pytest-runner", ' ""
|
hypothesis
|
||||||
'';
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "datrie" ];
|
pythonImportsCheck = [ "datrie" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue