lol
1{ lib, fetchFromGitHub, rustPlatform, testers, fsrx }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "fsrx";
5 version = "1.0.2";
6
7 src = fetchFromGitHub {
8 owner = "thatvegandev";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-hzfpjunP20WCt3erYu7AO7A3nz+UMKdFzWUA5jASbVA=";
12 };
13
14 cargoSha256 = "sha256-bRStmz2sJnhCKpvoQfc/ZP9B2ZdNHYNEHd+wZErdS1Y=";
15
16 passthru = {
17 tests.version = testers.testVersion {
18 package = fsrx;
19 };
20 };
21
22 meta = with lib; {
23 description = "A flow state reader in the terminal";
24 homepage = "https://github.com/thatvegandev/fsrx";
25 license = licenses.mit;
26 maintainers = with maintainers; [ MoritzBoehme ];
27 };
28}