add simplefuzzyset

This commit is contained in:
Charlotte 🦝 Delenk 2022-07-06 13:19:44 +01:00
parent bc2b038da8
commit 82566f62e4
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 14 additions and 2 deletions

View file

@ -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 {

View file

@ -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";
};
}

View file

@ -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