nixpkgs/pkgs/development/tools/pqrs/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
627 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "pqrs";
version = "0.3.1";
src = fetchFromGitHub {
owner = "manojkarthick";
repo = "pqrs";
rev = "v${version}";
sha256 = "sha256-t6Y6gpMEpccCoyhG66FZEKHVNCbHblaqYZY1iJUZVUA=";
};
cargoHash = "sha256-fnoYVWpBn5Dil2o+u2MKQqd8dEKFE2i29Qz7cJae+gE=";
meta = with lib; {
description = "CLI tool to inspect Parquet files";
mainProgram = "pqrs";
homepage = "https://github.com/manojkarthick/pqrs";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = [ maintainers.manojkarthick ];
};
}