Merge pull request #137442 from asbachb/fixup/csvs-to-sqlite
csvs-to-sqlite: linking `click` version `7` explicitly to pass build
This commit is contained in:
commit
b2488e1c17
3 changed files with 13 additions and 15 deletions
|
@ -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 = with python3Packages; toPythonApplication csvs-to-sqlite;
|
||||
csvs-to-sqlite = callPackage ../tools/misc/csvs-to-sqlite { };
|
||||
|
||||
cucumber = callPackage ../development/tools/cucumber {};
|
||||
|
||||
|
|
|
@ -1751,8 +1751,6 @@ in {
|
|||
|
||||
cssutils = callPackage ../development/python-modules/cssutils { };
|
||||
|
||||
csvs-to-sqlite = callPackage ../development/python-modules/csvs-to-sqlite { };
|
||||
|
||||
csvw = callPackage ../development/python-modules/csvw { };
|
||||
|
||||
cucumber-tag-expressions = callPackage ../development/python-modules/cucumber-tag-expressions { };
|
||||
|
|
Loading…
Reference in a new issue