depot/third_party/nixpkgs/pkgs/tools/misc/fsrx/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

29 lines
715 B
Nix

{ lib, fetchFromGitHub, rustPlatform, testers, fsrx }:
rustPlatform.buildRustPackage rec {
pname = "fsrx";
version = "1.0.2";
src = fetchFromGitHub {
owner = "thatvegandev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hzfpjunP20WCt3erYu7AO7A3nz+UMKdFzWUA5jASbVA=";
};
cargoSha256 = "sha256-bRStmz2sJnhCKpvoQfc/ZP9B2ZdNHYNEHd+wZErdS1Y=";
passthru = {
tests.version = testers.testVersion {
package = fsrx;
};
};
meta = with lib; {
description = "A flow state reader in the terminal";
homepage = "https://github.com/thatvegandev/fsrx";
license = licenses.mit;
maintainers = with maintainers; [ MoritzBoehme ];
mainProgram = "fsrx";
};
}