From 1791b21d905c423b4accf665b95c1972bcbe6598 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 21 Sep 2020 17:15:24 +0200 Subject: Add dmenuunicode --- pkgs/dmenuunicode/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkgs/dmenuunicode/default.nix (limited to 'pkgs') diff --git a/pkgs/dmenuunicode/default.nix b/pkgs/dmenuunicode/default.nix new file mode 100644 index 0000000..2cb6b70 --- /dev/null +++ b/pkgs/dmenuunicode/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchgit }: +stdenv.mkDerivation { + name = "dmenuunicode"; + + src = fetchgit { + url = "https://github.com/LukeSmithxyz/voidrice"; + rev = "d92bd73428f7c13ec3c3860ab8ee518c336ec458"; + sha256 = "1gjls1x3r7i0y6f3fkzhfqfv9zc6l6b2q13zygzcggqcwc3xmanm"; + }; + + installPhase = '' + mkdir -p $out/bin + mkdir -p $out/share + cp .local/share/larbs/emoji $out/share + + sed -i "s:~/.local/share/larbs/emoji:$out/share/emoji:" .local/bin/dmenuunicode + cp .local/bin/dmenuunicode $out/bin + ''; +} -- cgit 1.4.1