Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 696 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "spacer"; 9 version = "0.4.5"; 10 11 src = fetchFromGitHub { 12 owner = "samwho"; 13 repo = "spacer"; 14 rev = "v${version}"; 15 hash = "sha256-GG9v6N7bJN7kYEQRqRIDgPPT0gGJ6LSSr8NWBDKsajo="; 16 }; 17 18 cargoHash = "sha256-sWE0nFFVAUcCgW6R3BWBdSqn1QMRI8tKnuxX4gpRdvA="; 19 20 meta = with lib; { 21 description = "CLI tool to insert spacers when command output stops"; 22 homepage = "https://github.com/samwho/spacer"; 23 changelog = "https://github.com/samwho/spacer/releases/tag/${src.rev}"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ figsoda ]; 26 mainProgram = "spacer"; 27 }; 28}