diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 4c46dd00caac..e7f2f5ef0f96 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1585,6 +1585,13 @@ githubId = 1482768; name = "Benjamin Asbach"; }; + asbjornolling = { + email = "asbjorn@olli.ng"; + matrix = "@asbjorn:olli.ng"; + github = "AsbjornOlling"; + githubId = 11493130; + name = "Asbjørn Olling"; + }; asciimoth = { name = "Andrew"; email = "ascii@moth.contact"; diff --git a/pkgs/by-name/em/emocli/package.nix b/pkgs/by-name/em/emocli/package.nix new file mode 100644 index 000000000000..7809ba7673c7 --- /dev/null +++ b/pkgs/by-name/em/emocli/package.nix @@ -0,0 +1,25 @@ +{ lib, nimPackages, fetchFromGitLab, unicode-emoji }: + +nimPackages.buildNimPackage rec { + pname = "emocli"; + version = "1.0.0"; + src = fetchFromGitLab { + owner = "AsbjornOlling"; + repo = "emocli"; + rev = "v${version}"; + hash = "sha256-yJu+8P446gzRFOi9/+TcN8AKL0jKHUxhOvi/HXNWL1A="; + }; + nimFlags = [ + "-d:release" + "--maxLoopIterationsVM:1000000000" + ]; + doCheck = true; + env.EMOCLI_DATAFILE = "${unicode-emoji}/share/unicode/emoji/emoji-test.txt"; + meta = with lib; { + homepage = "https://gitlab.com/AsbjornOlling/emocli"; + description = "The emoji picker for your command line"; + license = licenses.eupl12; + maintainers = with maintainers; [ asbjornolling ]; + mainProgram = "emocli"; + }; +}