pythonPackages.csvw-to-sqlite: Remove stale substituteInPlace, use pytestCheckHook
This commit is contained in:
parent
0c71d59971
commit
0f44581d63
@ -8,7 +8,7 @@
|
|||||||
, pandas
|
, pandas
|
||||||
, py-lru-cache
|
, py-lru-cache
|
||||||
, six
|
, six
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -23,11 +23,6 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0p99cg76d3s7jxvigh5ad04dzhmr6g62qzzh4i6h7x9aiyvdhvk4";
|
sha256 = "0p99cg76d3s7jxvigh5ad04dzhmr6g62qzzh4i6h7x9aiyvdhvk4";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace pandas~=0.25.0 pandas
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
click
|
click
|
||||||
dateparser
|
dateparser
|
||||||
@ -37,13 +32,9 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Convert CSV files into a SQLite database";
|
description = "Convert CSV files into a SQLite database";
|
||||||
homepage = "https://github.com/simonw/csvs-to-sqlite";
|
homepage = "https://github.com/simonw/csvs-to-sqlite";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user