about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorxrelkd <46590321+xrelkd@users.noreply.github.com>2024-01-20 17:26:34 +0800
committerxrelkd <46590321+xrelkd@users.noreply.github.com>2024-01-30 00:23:58 +0800
commit18f1b43b34d7614786c17cb3a7fc886df185c2ef (patch)
tree06cb660313691d59db9ebbc760d62b7123db55d5 /pkgs/applications/misc
parent20c8b8bc84e47f8b2b074f6d2afb2681822bd1ae (diff)
clipcat: migrate to by-name
(cherry picked from commit b4ccacc6cc0fb6ec5a29575d0f82e68fe7a2e1d6)
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/clipcat/default.nix49
1 files changed, 0 insertions, 49 deletions
diff --git a/pkgs/applications/misc/clipcat/default.nix b/pkgs/applications/misc/clipcat/default.nix
deleted file mode 100644
index 8de62f1a2296a..0000000000000
--- a/pkgs/applications/misc/clipcat/default.nix
+++ /dev/null
@@ -1,49 +0,0 @@
-{ lib
-, fetchFromGitHub
-, rustPlatform
-, protobuf
-, installShellFiles
-}:
-
-rustPlatform.buildRustPackage rec {
-  pname = "clipcat";
-  version = "0.16.1";
-
-  src = fetchFromGitHub {
-    owner = "xrelkd";
-    repo = pname;
-    rev = "v${version}";
-    hash = "sha256-SqA8UjKTBtkE1IkWGeshI8KBHr86V9r/+YvFZNJ6Oq8=";
-  };
-
-  cargoHash = "sha256-KU3kXqy9zL7GQdSsCNW7jcsxdTuRXjJyDtBpmgoXi6E=";
-
-  nativeBuildInputs = [
-    protobuf
-    installShellFiles
-  ];
-
-  checkFlags = [
-    # Some test cases interact with X11, skip them
-    "--skip=test_x11_clipboard"
-    "--skip=test_x11_primary"
-  ];
-
-  postInstall = ''
-    for cmd in clipcatd clipcatctl clipcat-menu clipcat-notify; do
-      installShellCompletion --cmd $cmd \
-        --bash <($out/bin/$cmd completions bash) \
-        --fish <($out/bin/$cmd completions fish) \
-        --zsh  <($out/bin/$cmd completions zsh)
-    done
-  '';
-
-  meta = with lib; {
-    description = "Clipboard Manager written in Rust Programming Language";
-    homepage = "https://github.com/xrelkd/clipcat";
-    license = licenses.gpl3Only;
-    platforms = platforms.linux;
-    maintainers = with maintainers; [ xrelkd ];
-    mainProgram = "clipcatd";
-  };
-}