Merge pull request #304585 from name-snrl/update-wl-clip-persist
wl-clip-persist: 0.3.1 -> 0.4.0
This commit is contained in:
commit
73e7e2108a
3 changed files with 36 additions and 42 deletions
36
pkgs/by-name/wl/wl-clip-persist/package.nix
Normal file
36
pkgs/by-name/wl/wl-clip-persist/package.nix
Normal file
|
@ -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; [ name-snrl ];
|
||||
};
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
{ 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; {
|
||||
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; [ ];
|
||||
};
|
||||
}
|
|
@ -4756,8 +4756,6 @@ with pkgs;
|
|||
|
||||
wlay = callPackage ../tools/wayland/wlay { };
|
||||
|
||||
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 a new issue