about summary refs log tree commit diff
path: root/pkgs/tools/misc/daktilo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/daktilo/default.nix')
-rw-r--r--pkgs/tools/misc/daktilo/default.nix66
1 files changed, 0 insertions, 66 deletions
diff --git a/pkgs/tools/misc/daktilo/default.nix b/pkgs/tools/misc/daktilo/default.nix
deleted file mode 100644
index e557862b6713..000000000000
--- a/pkgs/tools/misc/daktilo/default.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{ lib
-, rustPlatform
-, fetchFromGitHub
-, installShellFiles
-, stdenv
-, darwin
-, unixtools
-, pkg-config
-, alsa-lib
-, xorg
-}:
-
-rustPlatform.buildRustPackage rec {
-  pname = "daktilo";
-  version = "0.6.0";
-
-  src = fetchFromGitHub {
-    owner = "orhun";
-    repo = "daktilo";
-    rev = "v${version}";
-    hash = "sha256-gIBWonJGX6IpxyBeMulcfQEExsG1GrBVQLZbBBA1ruc=";
-  };
-
-  cargoHash = "sha256-lBlzXTkhsEboTby5tH7WfsvZxUwtw7sLYVJRozjI1D4=";
-
-  nativeBuildInputs = [
-    installShellFiles
-    pkg-config
-  ];
-
-  buildInputs = [
-    alsa-lib
-    xorg.libX11
-    xorg.libXi
-    xorg.libXtst
-  ] ++ lib.optionals stdenv.isDarwin [
-    darwin.apple_sdk.frameworks.Security
-  ];
-
-  nativeCheckInputs = [
-    unixtools.script
-  ];
-
-  postInstall = ''
-    mkdir -p man completions
-
-    OUT_DIR=man $out/bin/daktilo-mangen
-    OUT_DIR=completions $out/bin/daktilo-completions
-
-    installManPage man/daktilo.1
-    installShellCompletion \
-      completions/daktilo.{bash,fish} \
-      --zsh completions/_daktilo
-
-    rm $out/bin/daktilo-{completions,mangen}
-  '';
-
-  meta = with lib; {
-    description = "Turn your keyboard into a typewriter";
-    homepage = "https://github.com/orhun/daktilo";
-    changelog = "https://github.com/orhun/daktilo/blob/${src.rev}/CHANGELOG.md";
-    license = with licenses; [ asl20 mit ];
-    maintainers = with maintainers; [ orhun ];
-    mainProgram = "daktilo";
-  };
-}