{ lib , python3 , fetchPypi }: let python = python3.override { packageOverrides = self: super: { sqlalchemy = super.sqlalchemy_1_4; }; }; in python.pkgs.buildPythonApplication rec { pname = "csvkit"; version = "1.1.1"; format = "setuptools"; src = fetchPypi { inherit pname version; hash = "sha256-vt23t49rIq2+1urVrV3kv7Md0sVfMhGyorO2VSkEkiM="; }; propagatedBuildInputs = with python.pkgs; [ agate agate-excel agate-dbf agate-sql setuptools # csvsql imports pkg_resources ]; nativeCheckInputs = with python.pkgs; [ pytestCheckHook ]; pythonImportsCheck = [ "csvkit" ]; disabledTests = [ # Test is comparing CLI output "test_decimal_format" ]; meta = with lib; { changelog = "https://github.com/wireservice/csvkit/blob/${version}/CHANGELOG.rst"; description = "A suite of command-line tools for converting to and working with CSV"; homepage = "https://github.com/wireservice/csvkit"; license = licenses.mit; maintainers = with maintainers; [ vrthra ]; }; }