csvkit: 1.1.1 -> 1.3.0 (#282340)

* csvkit: migrate to by-name

* csvkit: refactor

- get rid of rec
- get rid of nested with
- set pyproject instead of format
- change meta.maintainers:
  - remove vrthra
  - add AndersonTorres

* csvkit: 1.1.1 -> 1.2.0

* csvkit: remove sqlalchemy_1_4 pinning

* csvkit: 1.2.0 -> 1.3.0
This commit is contained in:
Anderson Torres 2024-02-04 19:06:55 -03:00 committed by GitHub
parent a30ae78435
commit 65d2770885
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 20 deletions

View File

@ -4,23 +4,20 @@
}:
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";
version = "1.3.0";
pythonEnv = python3;
in
pythonEnv.pkgs.buildPythonApplication {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-vt23t49rIq2+1urVrV3kv7Md0sVfMhGyorO2VSkEkiM=";
hash = "sha256-uC5q4tK7QWUXEA7Lro1dhWoN/65CtxIIiBSityAeGvg=";
};
propagatedBuildInputs = with python.pkgs; [
propagatedBuildInputs = with pythonEnv.pkgs; [
agate
agate-excel
agate-dbf
@ -28,7 +25,7 @@ python.pkgs.buildPythonApplication rec {
setuptools # csvsql imports pkg_resources
];
nativeCheckInputs = with python.pkgs; [
nativeCheckInputs = with pythonEnv.pkgs; [
pytestCheckHook
];
@ -37,15 +34,15 @@ python.pkgs.buildPythonApplication rec {
];
disabledTests = [
# Test is comparing CLI output
# Tries to compare CLI output - and fails!
"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";
meta = {
homepage = "https://github.com/wireservice/csvkit";
license = licenses.mit;
maintainers = with maintainers; [ vrthra ];
description = "A suite of command-line tools for converting to and working with CSV";
changelog = "https://github.com/wireservice/csvkit/blob/${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
}

View File

@ -4940,8 +4940,6 @@ with pkgs;
csview = callPackage ../tools/text/csview { };
csvkit = callPackage ../tools/text/csvkit { };
csvquote = callPackage ../tools/text/csvquote { };
csvtool = callPackage ../development/ocaml-modules/csv/csvtool.nix { };