diff --git a/pkgs/tools/misc/spacer/default.nix b/pkgs/tools/misc/spacer/default.nix new file mode 100644 index 000000000000..65b86234ef05 --- /dev/null +++ b/pkgs/tools/misc/spacer/default.nix @@ -0,0 +1,26 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "spacer"; + version = "0.1.1"; + + src = fetchFromGitHub { + owner = "samwho"; + repo = "spacer"; + rev = "v${version}"; + hash = "sha256-3BPpyRbhrC/m2GnV0HH6DsZB3PqSL8AY6hzknFekpKE="; + }; + + cargoHash = "sha256-U9xKqPku4SxnAs9azQSDD3asHXGqp4HrdSzRZsExnT0="; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1349a3407504..0004be72a552 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12625,6 +12625,8 @@ with pkgs; sozu = callPackage ../servers/sozu { }; + spacer = callPackage ../tools/misc/spacer { }; + sparrow-unwrapped = callPackage ../applications/blockchains/sparrow { openimajgrabber = callPackage ../applications/blockchains/sparrow/openimajgrabber.nix {}; openjdk = openjdk.override { enableJavaFX = true; };