nixpkgs/pkgs/by-name/em/emocli/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
707 B
Nix
Raw Normal View History

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