remove regenpfeifer
This commit is contained in:
parent
f1d271ef84
commit
46032395d7
4 changed files with 2 additions and 69 deletions
36
flake.lock
36
flake.lock
|
@ -667,22 +667,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"regenpfeifer": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1651954301,
|
||||
"narHash": "sha256-Gtgcw8jGmW2NEAJCQasazyTKJ5MbA84E7hTEYpqcF7U=",
|
||||
"owner": "mkrnr",
|
||||
"repo": "regenpfeifer",
|
||||
"rev": "95e1707076347b8e91912769b68eac54724bb519",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "mkrnr",
|
||||
"repo": "regenpfeifer",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"cargo2nix": "cargo2nix",
|
||||
|
@ -705,9 +689,7 @@
|
|||
"nixpkgs-go116": "nixpkgs-go116",
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"plover": "plover",
|
||||
"regenpfeifer": "regenpfeifer",
|
||||
"steno-dictionaries": "steno-dictionaries",
|
||||
"wortformliste": "wortformliste"
|
||||
"steno-dictionaries": "steno-dictionaries"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
|
@ -765,22 +747,6 @@
|
|||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"wortformliste": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1651954389,
|
||||
"narHash": "sha256-IvDPqI+FixG40upe919g6HG+oTOreWryJL+SpbUvduM=",
|
||||
"owner": "mkrnr",
|
||||
"repo": "wortformliste",
|
||||
"rev": "9a1b96e05baa3a78637a93abd2e818a9caf3db5d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "mkrnr",
|
||||
"repo": "wortformliste",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
@ -25,10 +25,6 @@
|
|||
nasin-nanpa.flake = false;
|
||||
plover.url = "github:benoit-pierre/plover/wayland-sway";
|
||||
plover.flake = false;
|
||||
regenpfeifer.url = "github:mkrnr/regenpfeifer";
|
||||
regenpfeifer.flake = false;
|
||||
wortformliste.url = "github:mkrnr/wortformliste";
|
||||
wortformliste.flake = false;
|
||||
cargo2nix.url = "github:cargo2nix/cargo2nix";
|
||||
drone-runner-docker.url = "github:drone-runners/drone-runner-docker";
|
||||
drone-runner-docker.flake = false;
|
||||
|
|
|
@ -26,12 +26,6 @@ in rec {
|
|||
src = tarballs.rtf-tokenize-src;
|
||||
checkInputs = [pytest];
|
||||
};
|
||||
plover-regenpfeifer = with python3Packages;
|
||||
buildPythonPackage rec {
|
||||
inherit (tarballs.plover-regenpfeifer-src.passthru) pname version;
|
||||
src = tarballs.plover-regenpfeifer-src;
|
||||
propagatedBuildInputs = [plover];
|
||||
};
|
||||
plover-emoji = with python3Packages;
|
||||
buildPythonPackage rec {
|
||||
inherit (tarballs.plover-emoji-src.passthru) pname version;
|
||||
|
@ -69,29 +63,6 @@ in rec {
|
|||
src = tarballs.ruamel-yaml-clib-src;
|
||||
setuptoolsCheckPhase = "true";
|
||||
};
|
||||
regenpfeifer-env = pypy3.withPackages (ps: [ps.marisa-trie]);
|
||||
wortformliste = pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "wortformliste";
|
||||
version = inputs.wortformliste.lastModifiedDate;
|
||||
src = inputs.wortformliste;
|
||||
|
||||
buildPhase = "true";
|
||||
installPhase = "cp wortformliste.csv $out";
|
||||
};
|
||||
regenpfeifer = pkgs.stdenvNoCC.mkDerivation rec {
|
||||
pname = "regenpfeifer";
|
||||
version = inputs.regenpfeifer.lastModifiedDate;
|
||||
name = "${pname}-${version}.json";
|
||||
src = inputs.regenpfeifer;
|
||||
patches = [
|
||||
./regenpfeifer.patch
|
||||
];
|
||||
nativeBuildInputs = [regenpfeifer-env];
|
||||
buildPhase = ''
|
||||
PYTHONPATH=${regenpfeifer-env}/site-packages LC_ALL=C.UTF-8 pypy3 -m regenpfeifer.dictionary_generator ${wortformliste} $out unmatched.log 0 0
|
||||
'';
|
||||
installPhase = "true";
|
||||
};
|
||||
plover = with python3Packages;
|
||||
qt5.mkDerivationWith buildPythonPackage rec {
|
||||
pname = "plover";
|
||||
|
|
|
@ -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 simplefuzzyset ruamel.yaml ruamel.yaml.clib"
|
||||
PACKAGES="plover-plugins-manager plover-stroke rtf-tokenize plover-emoji plover-tapey-tape plover-yaml-dictionary simplefuzzyset ruamel.yaml ruamel.yaml.clib"
|
||||
|
||||
cat > tarballs.nix << EOF
|
||||
{ inputs, pkgs }: let
|
||||
|
|
Reference in a new issue