nixpkgs/pkgs/tools/misc/peep/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
727 B
Nix
Raw Normal View History

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