nixpkgs/pkgs/tools/misc/csv2parquet/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
586 B
Nix
Raw Normal View History

2022-10-07 19:45:19 +02:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "csv2parquet";
2023-01-14 09:07:15 +01:00
version = "0.6.1";
2022-10-07 19:45:19 +02:00
src = fetchFromGitHub {
owner = "domoritz";
repo = pname;
rev = "v${version}";
2023-01-14 09:07:15 +01:00
sha256 = "sha256-499DC0kLvvP5Oq2WYRb9BIppTdfm41u8hwrPU8b66Zw=";
2022-10-07 19:45:19 +02:00
};
2023-01-14 09:07:15 +01:00
cargoHash = "sha256-GoUmr1NArOyGx1A9E9K/Od0xXR2YxZqBcBdYFumgIJU=";
2022-10-07 19:45:19 +02:00
meta = with lib; {
description = "Convert CSV files to Apache Parquet";
homepage = "https://github.com/domoritz/csv2parquet";
license = licenses.mit;
maintainers = with maintainers; [ john-shaffer ];
};
}