me like nix
1{
2 pkgs,
3}:
4
5pkgs.stdenv.mkDerivation {
6 pname = "cclip";
7 version = "0-unstable-2025-03-09";
8
9 src = pkgs.fetchFromGitHub {
10 owner = "heather7283";
11 repo = "cclip";
12 rev = "4286de1c8407ccba51060764e82c6b425b4ca3dd";
13 hash = "sha256-rjDCYag0aG9mZuwzWNS5z/CzeEtpdjc9iMypKqIZK60=";
14 };
15
16 nativeBuildInputs = with pkgs; [
17 meson
18 ninja
19 pkg-config
20 wayland-scanner
21 git
22 ];
23
24 buildInputs = with pkgs; [
25 wayland
26 sqlite
27 xxhash
28 ];
29
30 meta = {
31 description = "Clipboard manager for Wayland";
32 homepage = "https://github.com/heather7283/cclip";
33 license = pkgs.lib.licenses.mit;
34 platforms = pkgs.lib.platforms.linux;
35 };
36}