mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
713 B
Nix
30 lines
713 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 = "Flow state reader in the terminal";
|
|
homepage = "https://github.com/thatvegandev/fsrx";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ MoritzBoehme ];
|
|
mainProgram = "fsrx";
|
|
};
|
|
}
|