base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / sp / spacer / package.nix
blob5bf584c07a1447db2b2365306431cd7776822254
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "spacer";
8   version = "0.3.0";
10   src = fetchFromGitHub {
11     owner = "samwho";
12     repo = "spacer";
13     rev = "v${version}";
14     hash = "sha256-gxqUMtONjYPjSmxyguE9/GBC91PUK1rdFGsISGaSe44=";
15   };
17   cargoHash = "sha256-pMYqIl0Td2awAxe3BRglBcOychwTmFZ+pZV0QOT0CL4=";
19   meta = with lib; {
20     description = "CLI tool to insert spacers when command output stops";
21     homepage = "https://github.com/samwho/spacer";
22     changelog = "https://github.com/samwho/spacer/releases/tag/${src.rev}";
23     license = licenses.mit;
24     maintainers = with maintainers; [ figsoda ];
25     mainProgram = "spacer";
26   };