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