mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
b25c5289d7
Diff: https://github.com/samwho/spacer/compare/v0.1.8...v0.2 Changelog: https://github.com/samwho/spacer/releases/tag/v0.2
27 lines
661 B
Nix
27 lines
661 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "spacer";
|
|
version = "0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "samwho";
|
|
repo = "spacer";
|
|
rev = "v${version}";
|
|
hash = "sha256-6RGwOyp/TzO7Z2xpcNFtAb+UaiMmgiuac9nqZs4fC10=";
|
|
};
|
|
|
|
cargoHash = "sha256-XWXrivx0TJZmu5jJYJAzKm6dzqOwiWwU8mRuehZkQbA=";
|
|
|
|
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 ];
|
|
};
|
|
}
|