about summary refs log tree commit diff
path: root/pkgs/tools/text/crowdin-cli/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/crowdin-cli/default.nix')
-rw-r--r--pkgs/tools/text/crowdin-cli/default.nix51
1 files changed, 0 insertions, 51 deletions
diff --git a/pkgs/tools/text/crowdin-cli/default.nix b/pkgs/tools/text/crowdin-cli/default.nix
deleted file mode 100644
index 5c46c1efef09..000000000000
--- a/pkgs/tools/text/crowdin-cli/default.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ lib
-, stdenv
-, fetchurl
-, gawk
-, git
-, gnugrep
-, installShellFiles
-, jre
-, makeWrapper
-, crowdin-cli
-, testers
-, unzip
-}:
-
-stdenv.mkDerivation rec {
-  pname = "crowdin-cli";
-  version = "4.2.0";
-
-  src = fetchurl {
-    url = "https://github.com/crowdin/${pname}/releases/download/${version}/${pname}.zip";
-    hash = "sha256-158zbgYw4FP/vQVsSs9tt9VcisBWpRn/D4ORiM24PYY=";
-  };
-
-  nativeBuildInputs = [ installShellFiles makeWrapper unzip ];
-
-  installPhase = ''
-    runHook preInstall
-
-    install -D crowdin-cli.jar $out/lib/crowdin-cli.jar
-
-    installShellCompletion --cmd crowdin --bash ./crowdin_completion
-
-    makeWrapper ${jre}/bin/java $out/bin/crowdin \
-      --argv0 crowdin \
-      --add-flags "-jar $out/lib/crowdin-cli.jar" \
-      --prefix PATH : ${lib.makeBinPath [ gawk gnugrep git ]}
-
-    runHook postInstall
-  '';
-
-  passthru.tests.version = testers.testVersion { package = crowdin-cli; };
-
-  meta = with lib; {
-    mainProgram = "crowdin";
-    homepage = "https://github.com/crowdin/crowdin-cli/";
-    description = "Command-line client for the Crowdin API";
-    sourceProvenance = with sourceTypes; [ binaryBytecode ];
-    license = licenses.mit;
-    maintainers = with maintainers; [ DamienCassou ];
-  };
-}