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