about summary refs log tree commit diff
path: root/pkgs/tools/misc/zalgo
diff options
context:
space:
mode:
authorJonathan Strickland <djanatyn@gmail.com>2020-10-22 19:07:01 -0400
committerJonathan Strickland <djanatyn@gmail.com>2020-11-28 18:04:01 -0500
commit383bd9f62f5631e5aae4153b69fa99f98db58815 (patch)
tree4ff647f1fa735a7258d187da81c4ada3ce19400d /pkgs/tools/misc/zalgo
parent8a1fdce8d3482b60ac13678a8eab838777b51549 (diff)
zalgo: init at unstable-2020-08-26
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Nikolay Korotkiy <sikmir@gmail.com>
Co-authored-by: Ivar <41924494+IvarWithoutBones@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/misc/zalgo')
-rw-r--r--pkgs/tools/misc/zalgo/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/zalgo/default.nix b/pkgs/tools/misc/zalgo/default.nix
new file mode 100644
index 0000000000000..d9538141af00d
--- /dev/null
+++ b/pkgs/tools/misc/zalgo/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "zalgo";
+  version = "unstable-2020-08-26";
+
+  src = fetchFromGitHub {
+    owner = "lunasorcery";
+    repo = "zalgo";
+    rev = "6aa1f66cfe183f8164a666730dfeaf39133cf01a";
+    sha256 = "00q56yvfcj2f89wllrckvizihivqmd6l77nihb52ffqd99rdd24w";
+  };
+
+  installPhase = ''
+    install -Dm755 zalgo -t $out/bin
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Read stdin and corrupt it with combining diacritics";
+    homepage = "https://github.com/lunasorcery/zalgo";
+    license = licenses.unfree;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ djanatyn ];
+  };
+}