chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ta / tabiew / package.nix
blob043a2675159e2120f8686de3608551f1fd841404
1 { lib
2 , fetchFromGitHub
3 , rustPlatform
4 , installShellFiles
5 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "tabiew";
8   version = "0.6.2";
10   src = fetchFromGitHub {
11     owner = "shshemi";
12     repo = "tabiew";
13     rev = "v${version}";
14     hash = "sha256-3f+l1gmJYl/7aTkZGxmCur9khDNSoUNjDGAHhe6T13U=";
15   };
17   cargoHash = "sha256-FT98jzx/NQ1AWtGGLY63izKzGyjHnJNMuuQREqw+qnw=";
19   nativeBuildInputs = [ installShellFiles ];
21   outputs = [ "out" "man" ];
23   postInstall = ''
24     installManPage target/manual/tabiew.1
26     installShellCompletion \
27       --bash target/completion/tw.bash \
28       --zsh target/completion/_tw \
29       --fish target/completion/tw.fish
30   '';
32   doCheck = false; # there are no tests
34   meta = {
35     description =
36       "Lightweight, terminal-based application to view and query delimiter separated value formatted documents, such as CSV and TSV files";
37     homepage = "https://github.com/shshemi/tabiew";
38     changelog = "https://github.com/shshemi/tabiew/releases/tag/v${version}";
39     license = lib.licenses.mit;
40     mainProgram = "tw";
41     maintainers = with lib.maintainers; [ anas ];
42     platforms = with lib.platforms; unix ++ windows;
43   };