There is an upstream bug with golang.org/x/sys, that requires we upgrade to 0.1.0, and this change forces us to move the go minimum version to 1.17. All of this is done via patch, and can be rolled back when upstream merges bcongdon/ep#7. Fixes #191952
28 lines
587 B
Nix
28 lines
587 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "emoji-picker";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bcongdon";
|
|
repo = "ep";
|
|
rev = version;
|
|
hash = "sha256-ElUsmuJ43kOsu4cGvNytM+xHTfuzMo0jcG8Z1cIeHJs=";
|
|
};
|
|
|
|
patches = [./xsys.patch];
|
|
|
|
vendorHash = "sha256-Xeh5JKIBiyOXRGVx9udoUNs+Wv49BMyFvmnAbDfG3rA=";
|
|
|
|
meta = with lib; {
|
|
description = "A CLI Emoji Picker";
|
|
homepage = "https://github.com/bcongdon/ep";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ urandom ];
|
|
mainProgram = "ep";
|
|
};
|
|
}
|