nixos-config/packages/plover/plover-emoji.nix

30 lines
718 B
Nix
Raw Normal View History

{
callPackage,
buildPythonPackage,
fetchPypi,
lib,
pythonOlder,
}: let
plover = callPackage ./plover {};
simplefuzzyset = callPackage ../python/simplefuzzyset.nix {};
in
buildPythonPackage rec {
pname = "plover_emoji";
version = "0.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-22YRzSoJSFmES2P2uiA333kpxHGUV1Vlhun2q08LV+o=";
};
doCheck = false;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [plover simplefuzzyset];
meta = with lib; {
description = "Convert text to emoji with a stroke.";
license = licenses.gpl3;
};
passthru.updateScript = [../scripts/update-python-libraries "plover/plover-emoji.nix"];
}