csvs-to-sqlite: added override for click dependency to version 7 in order to fix build

The application is not capable to build with `click` greate than version `7`.
This commit is contained in:
Benjamin Asbach
2021-09-14 14:05:49 -06:00
parent ac74b42351
commit a5d5f32f90
2 changed files with 13 additions and 13 deletions
+12 -12
View File
@@ -1,16 +1,16 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, click
, dateparser
, pandas
, py-lru-cache
, six
, pytestCheckHook
}:
{ lib, python3, fetchFromGitHub }:
buildPythonPackage rec {
let
# csvs-to-sqlite is currently not compatible with Click 8. See the following
# https://github.com/simonw/csvs-to-sqlite/issues/80
#
# Workaround the issue by providing click 7 explicitly.
python = python3.override {
packageOverrides = self: super: {
click = self.callPackage ../../../development/python-modules/click/7.nix { };
};
};
in with python.pkgs; buildPythonApplication rec {
pname = "csvs-to-sqlite";
version = "1.2";
disabled = !isPy3k;
+1 -1
View File
@@ -2470,7 +2470,7 @@ with pkgs;
csv2latex = callPackage ../tools/misc/csv2latex { };
csvs-to-sqlite = python3Packages.callPackage ../tools/misc/csvs-to-sqlite { };
csvs-to-sqlite = callPackage ../tools/misc/csvs-to-sqlite { };
cucumber = callPackage ../development/tools/cucumber {};