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:
@@ -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;
|
||||
|
||||
@@ -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 {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user