nixpkgs/pkgs/tools/wayland/clapboard/default.nix
2023-11-27 02:17:53 +01:00

28 lines
656 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";
};
}