depot/pkgs/by-name/em/emocli/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

23 lines
707 B
Nix

{ lib, buildNimPackage, fetchFromGitLab, unicode-emoji }:
buildNimPackage (finalAttrs: {
pname = "emocli";
version = "1.0.0";
src = fetchFromGitLab {
owner = "AsbjornOlling";
repo = "emocli";
rev = "v${finalAttrs.version}";
hash = "sha256-yJu+8P446gzRFOi9/+TcN8AKL0jKHUxhOvi/HXNWL1A=";
};
nimFlags = [
"--maxLoopIterationsVM:1000000000"
];
env.EMOCLI_DATAFILE = "${unicode-emoji}/share/unicode/emoji/emoji-test.txt";
meta = {
homepage = "https://gitlab.com/AsbjornOlling/emocli";
description = "Emoji picker for your command line";
license = lib.licenses.eupl12;
maintainers = with lib.maintainers; [ asbjornolling ];
mainProgram = "emocli";
};
})