mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
28 lines
678 B
Nix
28 lines
678 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "csvlens";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "YS-L";
|
|
repo = "csvlens";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-b8SuXx1uN9lBrCoEDLeudZwylHu+f2i/PQkfHA56YlE=";
|
|
};
|
|
|
|
cargoHash = "sha256-SPUEK+8rLXBR8cdxN3qUajvN6PxbAZX2i7vYcyMzqyw=";
|
|
|
|
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";
|
|
};
|
|
}
|