2022-08-12 12:06:08 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, testers, fsrx }:
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fsrx";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.0.2";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-08-12 12:06:08 +00:00
|
|
|
owner = "thatvegandev";
|
2022-06-16 17:23:12 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-hzfpjunP20WCt3erYu7AO7A3nz+UMKdFzWUA5jASbVA=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
cargoHash = "sha256-bRStmz2sJnhCKpvoQfc/ZP9B2ZdNHYNEHd+wZErdS1Y=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
tests.version = testers.testVersion {
|
|
|
|
package = fsrx;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Flow state reader in the terminal";
|
2022-08-12 12:06:08 +00:00
|
|
|
homepage = "https://github.com/thatvegandev/fsrx";
|
2022-06-16 17:23:12 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ MoritzBoehme ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "fsrx";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|