28 lines
678 B
Nix
28 lines
678 B
Nix
|
{ lib
|
||
|
, rustPlatform
|
||
|
, fetchFromGitHub
|
||
|
}:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
pname = "csvlens";
|
||
|
version = "0.5.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "YS-L";
|
||
|
repo = "csvlens";
|
||
|
rev = "refs/tags/v${version}";
|
||
|
hash = "sha256-9zIi49iXFOARSZsz0iqzC7NfoiBngfNt6A7vZuwxItI=";
|
||
|
};
|
||
|
|
||
|
cargoHash = "sha256-DDMsycYSzkBNvf4f9WVpnADpP72GQEkmJIJsfrlfMcI=";
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Command line csv viewer";
|
||
|
homepage = "https://github.com/YS-L/csvlens";
|
||
|
changelog = "https://github.com/YS-L/csvlens/blob/${src.rev}/CHANGELOG.md";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ natsukium ];
|
||
|
mainProgram = "csvlens";
|
||
|
};
|
||
|
}
|