Skip to content

Commit daf1344

Browse files
nathanscullynuminit
authored andcommitted
nail-parquet: init at 1.6.5
1 parent 1123470 commit daf1344

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
rustPlatform,
5+
testers,
6+
nail-parquet,
7+
stdenv,
8+
pkg-config,
9+
openssl,
10+
}:
11+
12+
rustPlatform.buildRustPackage (finalAttrs: {
13+
pname = "nail-parquet";
14+
version = "1.6.5";
15+
16+
src = fetchFromGitHub {
17+
owner = "Vitruves";
18+
repo = "nail-parquet";
19+
tag = "v${finalAttrs.version}";
20+
hash = "sha256-CPiOeaESerQj+nV0hQIGv06/MFP8s7p9olpmhnWpAAg=";
21+
};
22+
23+
cargoHash = "sha256-x4BJZcQkisw9hA/TBzSSdkxh7oUNL0OD3H/v67otYj8=";
24+
25+
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [
26+
pkg-config
27+
];
28+
29+
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
30+
openssl
31+
];
32+
33+
passthru.tests = {
34+
version = testers.testVersion {
35+
package = nail-parquet;
36+
command = "nail --version";
37+
};
38+
};
39+
40+
meta = {
41+
description = "High-performance command-line utility for working with Parquet files";
42+
homepage = "https://github.com/Vitruves/nail-parquet";
43+
license = lib.licenses.mit;
44+
maintainers = with lib.maintainers; [ nathanscully ];
45+
mainProgram = "nail";
46+
};
47+
})

0 commit comments

Comments
 (0)