diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-21 17:15:24 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-21 17:15:24 +0200 |
commit | 1791b21d905c423b4accf665b95c1972bcbe6598 (patch) | |
tree | a3d0a4a730e206729f9489d1307a84df0180c1ec /pkgs/dmenuunicode/default.nix | |
parent | c856ece9e407433bfe1e6952873d99df75cd51f5 (diff) | |
download | pnpkgs-1791b21d905c423b4accf665b95c1972bcbe6598.tar.gz pnpkgs-1791b21d905c423b4accf665b95c1972bcbe6598.zip |
Add dmenuunicode
Diffstat (limited to 'pkgs/dmenuunicode/default.nix')
-rw-r--r-- | pkgs/dmenuunicode/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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 + ''; +} |