diff options
author | name_snrl <Demogorgon-74@ya.ru> | 2024-04-16 21:31:44 +0500 |
---|---|---|
committer | name_snrl <Demogorgon-74@ya.ru> | 2024-04-16 21:31:44 +0500 |
commit | aa3476462ad0296315013a67b84739c2096e050e (patch) | |
tree | a562491c76b1a8d9c3485d29368a7454ac130a20 /pkgs/by-name/wl | |
parent | 06c817b2acf67a707a1df00032d22311641deee8 (diff) |
wl-clip-persist: 0.3.1 -> 0.4.0
Diffstat (limited to 'pkgs/by-name/wl')
-rw-r--r-- | pkgs/by-name/wl/wl-clip-persist/package.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/wl/wl-clip-persist/package.nix b/pkgs/by-name/wl/wl-clip-persist/package.nix new file mode 100644 index 0000000000000..649b74b65aa79 --- /dev/null +++ b/pkgs/by-name/wl/wl-clip-persist/package.nix @@ -0,0 +1,36 @@ +{ + lib, + stdenv, + rustPlatform, + fetchFromGitHub, + pkg-config, + wayland, +}: + +rustPlatform.buildRustPackage rec { + pname = "wl-clip-persist"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "Linus789"; + repo = "wl-clip-persist"; + rev = "v${version}"; + hash = "sha256-uu9R+/8483YyuvMeot2sRs8ihSN1AEPeDjzRxB1P8kc="; + }; + + cargoHash = "sha256-XpNpHi9vl89sbec6DXh50t8s328Uw4PpzFVvGp1TP6o="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ wayland ]; + + meta = with lib; { + broken = stdenv.isDarwin; + description = "Keep Wayland clipboard even after programs close"; + homepage = "https://github.com/Linus789/wl-clip-persist"; + inherit (wayland.meta) platforms; + license = licenses.mit; + mainProgram = "wl-clip-persist"; + maintainers = with maintainers; [ ]; + }; +} |