nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 6b7bc6ac1ac067534678f67d62f15e651fd08c6e
parent 3fd3c47895fd8c5b2fdba8e47a7e0c251b2ed14d
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 18 May 2024 23:03:29 +0400

Add tabiew

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/tabiew/default.nix | 24++++++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -413,6 +413,7 @@ lib.makeScope newScope ( shellprof = callPackage ./misc/shellprof { }; socketcand = callPackage ./misc/socketcand { }; subprocess = callPackage ./misc/subprocess { }; + tabiew = callPackage ./misc/tabiew { }; tcvt = callPackage ./misc/tcvt { }; telegabber = callPackage ./misc/telegabber { }; telegram-send = callPackage ./misc/telegram-send { }; diff --git a/pkgs/misc/tabiew/default.nix b/pkgs/misc/tabiew/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "tabiew"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "shshemi"; + repo = "tabiew"; + rev = "v${version}"; + hash = "sha256-rIEt2ngomxiFzzruVzhSVbi+Zye/tW1QGFqgONpDYV0="; + }; + + cargoHash = "sha256-CMqMn29j70f/3YFWtWkW8J5dCxXf5HtaIrl2yudipTQ="; + + meta = with lib; { + description = "A lightweight TUI app to view and query CSV files"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + mainProgram = "tw"; + }; +}