mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
bd1ebb0fa0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/clipmenu/versions.
34 lines
851 B
Nix
34 lines
851 B
Nix
{ clipnotify, makeWrapper, xsel, dmenu2, utillinux, gawk, stdenv, fetchFromGitHub, lib }:
|
|
let
|
|
runtimePath = lib.makeBinPath [ clipnotify xsel dmenu2 utillinux gawk ];
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "clipmenu-${version}";
|
|
version = "5.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cdown";
|
|
repo = "clipmenu";
|
|
rev = version;
|
|
sha256 = "15if7bwqviyynbrcwrn04r418cfnxf2mkmq112696np24bggvljg";
|
|
};
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp clipdel clipmenu clipmenud $out/bin
|
|
|
|
for bin in $out/bin/*; do
|
|
wrapProgram "$bin" --prefix PATH : "${runtimePath}"
|
|
done
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Clipboard management using dmenu";
|
|
inherit (src.meta) homepage;
|
|
maintainers = with maintainers; [ jb55 ];
|
|
license = licenses.publicDomain;
|
|
};
|
|
}
|