depot/third_party/nixpkgs/pkgs/by-name/cl/clapboard/package.nix

28 lines
661 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "clapboard";
version = "0.1.1";
src = fetchFromGitHub {
owner = "bjesus";
repo = "clapboard";
rev = "v${version}";
hash = "sha256-/4HBhsW2C3xYzKVw9TuSj8b7LdirWbNg4OxLm/ebf40=";
};
cargoHash = "sha256-bq+r2J2lhhZKTEV69OnsXiAGKspOZ0kF0q2hDnbIXn8=";
meta = with lib; {
description = "Wayland clipboard manager that will make you clap";
homepage = "https://github.com/bjesus/clapboard";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
platforms = platforms.linux;
mainProgram = "clapboard";
};
}