nixpkgs/pkgs/tools/misc/fsrx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
715 B
Nix
Raw Normal View History

2022-07-14 17:46:45 +00:00
{ lib, fetchFromGitHub, rustPlatform, testers, fsrx }:
2022-06-10 17:08:37 +00:00
rustPlatform.buildRustPackage rec {
pname = "fsrx";
2022-07-14 17:46:45 +00:00
version = "1.0.2";
2022-06-10 17:08:37 +00:00
src = fetchFromGitHub {
2022-07-14 17:46:45 +00:00
owner = "thatvegandev";
2022-06-10 17:08:37 +00:00
repo = pname;
rev = "v${version}";
2022-07-14 17:46:45 +00:00
sha256 = "sha256-hzfpjunP20WCt3erYu7AO7A3nz+UMKdFzWUA5jASbVA=";
2022-06-10 17:08:37 +00:00
};
2022-07-14 17:46:45 +00:00
cargoSha256 = "sha256-bRStmz2sJnhCKpvoQfc/ZP9B2ZdNHYNEHd+wZErdS1Y=";
2022-06-10 17:08:37 +00:00
passthru = {
tests.version = testers.testVersion {
package = fsrx;
};
};
meta = with lib; {
description = "A flow state reader in the terminal";
2022-07-14 17:46:45 +00:00
homepage = "https://github.com/thatvegandev/fsrx";
2022-06-10 17:08:37 +00:00
license = licenses.mit;
maintainers = with maintainers; [ MoritzBoehme ];
2023-11-27 01:17:53 +00:00
mainProgram = "fsrx";
2022-06-10 17:08:37 +00:00
};
}