csvkit: fix failing test

The build for this package was failing due to failing tests that were caused by a breaking change in a dependency. The requirements.txt for this package does not pin specific versions so it was trying to build with the new version of the dependency and failing. This commit overrides the version of the dependency that is used to build the package.
This commit is contained in:
Tim Zook 2020-09-09 11:55:52 -05:00 committed by Jon
parent 43d9d1d7d8
commit 32c9ee2cfc

View file

@ -12,7 +12,14 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [
agate
agate-excel
agate-dbf
# dbf test fail with agate-dbf-0.2.2
(agate-dbf.overridePythonAttrs(old: rec {
version = "0.2.1";
src = python3.pkgs.fetchPypi {
inherit (old) pname;
inherit version;
sha256 = "0brprva3vjypb5r9lk6zy10jazp681rxsqxzhz2lr869ir4krj80";
};}))
# sql test fail with agate-sql-0.5.4
(agate-sql.overridePythonAttrs(old: rec {
version = "0.5.3";