mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
Merge pull request #238426 from thiagokokada/wl-clip-persist-init
wl-clip-persist: init at 0.3.1
This commit is contained in:
commit
d3fb8aa9bc
39
pkgs/tools/wayland/wl-clip-persist/default.nix
Normal file
39
pkgs/tools/wayland/wl-clip-persist/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, wayland
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "wl-clip-persist";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Linus789";
|
||||
repo = "wl-clip-persist";
|
||||
# upstream doesn't tag releases
|
||||
rev = "6ba11a2aa295d780f0b2e8f005cf176601d153b0";
|
||||
hash = "sha256-wg4xEXLAZpWflFejP7ob4cnmRvo9d/0dL9hceG+RUr0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-vNxNvJ5tA323EVArJ6glNslkq/Q6u7NsIpTYO1Q3GEw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
wayland
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (wayland.meta) platforms;
|
||||
homepage = "https://github.com/Linus789/wl-clip-persist";
|
||||
description = "Keep Wayland clipboard even after programs close";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ thiagokokada ];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
@ -4454,6 +4454,8 @@ with pkgs;
|
||||
|
||||
wdt = callPackage ../applications/networking/sync/wdt { };
|
||||
|
||||
wl-clip-persist = callPackage ../tools/wayland/wl-clip-persist { };
|
||||
|
||||
wl-clipboard = callPackage ../tools/wayland/wl-clipboard { };
|
||||
|
||||
wl-clipboard-x11 = callPackage ../tools/wayland/wl-clipboard-x11 { };
|
||||
|
Loading…
Reference in New Issue
Block a user