Skip to content

Commit 1306659

Browse files
authored
nail-parquet: init at 1.6.5 (NixOS#449066)
2 parents e23332c + daf1344 commit 1306659

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

maintainers/maintainer-list.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18262,6 +18262,12 @@
1826218262
githubId = 18604892;
1826318263
name = "Nathan Ruiz";
1826418264
};
18265+
nathanscully = {
18266+
email = "nath@nscully.com";
18267+
github = "nathanscully";
18268+
githubId = 3359816;
18269+
name = "Nathan Scully";
18270+
};
1826518271
nathyong = {
1826618272
github = "nathyong";
1826718273
githubId = 818502;
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)