2020-04-24 23:36:52 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "peep";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.1.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ryochack";
|
|
|
|
repo = "peep";
|
2023-04-29 16:46:19 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-6Y7ZI0kIPE7uMMOkXgm75JMEec090xZPBJFJr9DaswA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
cargoHash = "sha256-CDWa03H8vWfhx2dwZU5rAV3fSwAGqCIPcvl+lTG4npE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI text viewer tool that works like less command on small pane within the terminal window";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/ryochack/peep";
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/ryochack/peep/releases/tag/${src.rev}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "peep";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|