94254f08d0
Diff: https://github.com/samwho/spacer/compare/v0.1.6...v0.1.7 Changelog: https://github.com/samwho/spacer/releases/tag/v0.1.7
32 lines
746 B
Nix
32 lines
746 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "spacer";
|
|
version = "0.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "samwho";
|
|
repo = "spacer";
|
|
rev = "v${version}";
|
|
hash = "sha256-eFXxcOhUqyo3eUws3RCO0w+0XGlxZAonKFTphnrhHs8=";
|
|
};
|
|
|
|
cargoHash = "sha256-z7igJc8HHqpiY2an4hFWoZElwgF5NUA+TFPqxuowC/w=";
|
|
|
|
# Cargo.lock is outdated
|
|
preConfigure = ''
|
|
cargo metadata --offline
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "CLI tool to insert spacers when command output stops";
|
|
homepage = "https://github.com/samwho/spacer";
|
|
changelog = "https://github.com/samwho/spacer/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|