mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
Merge pull request #69421 from Ma27/package-clipman
clipman: init at 1.0.1
This commit is contained in:
commit
70abf8c018
30
pkgs/tools/misc/clipman/default.nix
Normal file
30
pkgs/tools/misc/clipman/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ buildGoModule, fetchFromGitHub, lib, wl-clipboard, makeWrapper }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "clipman";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "yory8";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1qv7mncb8ggyxrxqxax3gbcfxzk8b4zj2n8rp2xpghsynw4j740w";
|
||||||
|
};
|
||||||
|
|
||||||
|
modSha256 = "0qwrj6wqy32v65k3sbp24frhrcq6wfk38ckmy6wfmhgcix47fzj2";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/clipman \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ wl-clipboard ]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/yory8/clipman;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ ma27 ];
|
||||||
|
description = "A simple clipboard manager for Wayland";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1401,6 +1401,8 @@ in
|
|||||||
|
|
||||||
chntpw = callPackage ../tools/security/chntpw { };
|
chntpw = callPackage ../tools/security/chntpw { };
|
||||||
|
|
||||||
|
clipman = callPackage ../tools/misc/clipman { };
|
||||||
|
|
||||||
clipster = callPackage ../tools/misc/clipster { };
|
clipster = callPackage ../tools/misc/clipster { };
|
||||||
|
|
||||||
coprthr = callPackage ../development/libraries/coprthr { };
|
coprthr = callPackage ../development/libraries/coprthr { };
|
||||||
|
Loading…
Reference in New Issue
Block a user