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:
Robert Schütz 2021-09-14 16:08:12 -07:00 committed by GitHub
commit b2488e1c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 15 deletions

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;

View file

@ -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 {};

View file

@ -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 { };