diff options
Diffstat (limited to 'pkgs/tools/misc/clipboard-jh/default.nix')
-rw-r--r-- | pkgs/tools/misc/clipboard-jh/default.nix | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/pkgs/tools/misc/clipboard-jh/default.nix b/pkgs/tools/misc/clipboard-jh/default.nix deleted file mode 100644 index 78ba8e6c3ba7..000000000000 --- a/pkgs/tools/misc/clipboard-jh/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cmake -, libffi -, pkg-config -, wayland-protocols -, wayland-scanner -, wayland -, xorg -, darwin -, nix-update-script -, alsa-lib -}: - -stdenv.mkDerivation rec { - pname = "clipboard-jh"; - version = "0.9.0.1"; - - src = fetchFromGitHub { - owner = "Slackadays"; - repo = "clipboard"; - rev = version; - hash = "sha256-iILtyURYCshicgAV3MWkgMQsXHe7Unj1A08W7tUMU2o="; - }; - - postPatch = '' - sed -i "/CMAKE_OSX_ARCHITECTURES/d" CMakeLists.txt - ''; - - nativeBuildInputs = [ - cmake - pkg-config - wayland-scanner - ]; - - buildInputs = lib.optionals stdenv.isLinux [ - libffi - wayland-protocols - wayland - xorg.libX11 - alsa-lib - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.AppKit - ]; - - cmakeBuildType = "MinSizeRel"; - - cmakeFlags = [ - "-Wno-dev" - "-DINSTALL_PREFIX=${placeholder "out"}" - ]; - - postFixup = lib.optionalString stdenv.isLinux '' - patchelf $out/bin/cb --add-rpath $out/lib - ''; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - description = "Cut, copy, and paste anything, anywhere, all from the terminal"; - homepage = "https://github.com/Slackadays/clipboard"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ dit7ya ]; - platforms = platforms.all; - mainProgram = "cb"; - }; -} |