diff --git a/misc/plover.nix b/misc/plover.nix index 83d2bac..298247d 100644 --- a/misc/plover.nix +++ b/misc/plover.nix @@ -36,7 +36,13 @@ in rec { buildPythonPackage rec { inherit (tarballs.plover-emoji-src.passthru) pname version; src = tarballs.plover-emoji-src; - propagatedBuildInputs = [plover]; + propagatedBuildInputs = [plover simplefuzzyset]; + checkInputs = [pytest]; + }; + simplefuzzyset = with python3Packages; + buildPythonPackage rec { + inherit (tarballs.simplefuzzyset-src.passthru) pname version; + src = tarballs.simplefuzzyset-src; }; plover-tapey-tape = with python3Packages; buildPythonPackage rec { diff --git a/python/tarballs.nix b/python/tarballs.nix index 7234b49..d7483c2 100644 --- a/python/tarballs.nix +++ b/python/tarballs.nix @@ -46,4 +46,10 @@ in rec { passthru.pname = "plover-yaml-dictionary"; passthru.version = "0.0.1"; }; + simplefuzzyset-src = fetchurl { + url = "https://files.pythonhosted.org/packages/ce/bc/7e5d5eaa5566ade033cda9ff0eb51b0942ab2138288b445c469d2814cd2f/simplefuzzyset-0.0.12.tar.gz"; + sha256 = "9a1b30c38b6afb76c6600bdd66c1c1dc3d8505b082e9e3d466f60f40e8b7e1f2"; + passthru.pname = "simplefuzzyset"; + passthru.version = "0.0.12"; + }; } diff --git a/python/update.sh b/python/update.sh index a765e00..81b1ab3 100755 --- a/python/update.sh +++ b/python/update.sh @@ -1,7 +1,7 @@ #!/usr/bin/env nix-shell #! nix-shell -i bash -p curl jq set -e -PACKAGES="plover-plugins-manager plover-stroke rtf-tokenize plover-regenpfeifer plover-emoji plover-tapey-tape plover-yaml-dictionary" +PACKAGES="plover-plugins-manager plover-stroke rtf-tokenize plover-regenpfeifer plover-emoji plover-tapey-tape plover-yaml-dictionary simplefuzzyset" cat > tarballs.nix << EOF { inputs, pkgs }: let