This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/plover/default.nix

58 lines
2.1 KiB
Nix
Raw Normal View History

2022-06-16 16:16:05 +00:00
{
inputs,
pkgs,
}:
2022-06-17 14:28:28 +00:00
with pkgs; let
inherit (inputs.nixpkgs-stable.legacyPackages.${system}) pypy3;
2022-07-06 11:49:46 +00:00
tarballs = import ../python/tarballs.nix {inherit inputs pkgs;};
2022-08-21 14:26:05 +00:00
patched-python3Packages = python3Packages.override {
overrides = self: super: {
requests-cache = super.requests-cache.overrideAttrs (old: {
postPatch = ''
substituteInPlace pyproject.toml --replace 'attrs = "^21.2"' 'attrs = ">=21.2"'
'';
});
};
};
2022-06-17 14:28:28 +00:00
in rec {
2022-08-21 14:26:05 +00:00
plover-plugins-manager = with patched-python3Packages;
2022-06-16 16:16:05 +00:00
buildPythonPackage rec {
2022-07-06 11:49:46 +00:00
inherit (tarballs.plover-plugins-manager-src.passthru) pname version;
src = tarballs.plover-plugins-manager-src;
propagatedBuildInputs = [pip pkginfo plover pygments readme_renderer requests requests-cache requests-futures setuptools wheel];
2022-06-16 20:42:08 +00:00
installCheckPhase = "true";
2022-06-16 20:52:29 +00:00
setuptoolsCheckPhase = "true";
2022-06-16 16:16:05 +00:00
};
2022-07-06 11:49:46 +00:00
plover-emoji = with python3Packages;
buildPythonPackage rec {
inherit (tarballs.plover-emoji-src.passthru) pname version;
src = tarballs.plover-emoji-src;
2022-07-06 12:19:44 +00:00
propagatedBuildInputs = [plover simplefuzzyset];
checkInputs = [pytest];
};
simplefuzzyset = with python3Packages;
buildPythonPackage rec {
inherit (tarballs.simplefuzzyset-src.passthru) pname version;
src = tarballs.simplefuzzyset-src;
2022-07-06 11:49:46 +00:00
};
plover-tapey-tape = with python3Packages;
buildPythonPackage rec {
inherit (tarballs.plover-tapey-tape-src.passthru) pname version;
src = tarballs.plover-tapey-tape-src;
propagatedBuildInputs = [plover];
};
plover-yaml-dictionary = with python3Packages;
buildPythonPackage rec {
inherit (tarballs.plover-yaml-dictionary-src.passthru) pname version;
src = tarballs.plover-yaml-dictionary-src;
2022-07-06 12:31:20 +00:00
propagatedBuildInputs = [plover ruamel-yaml];
};
2022-07-27 19:30:09 +00:00
plover-machine-hid = with python3Packages;
buildPythonPackage rec {
pname = "plover-machine-hid";
version = inputs.plover-machine-hid.lastModifiedDate;
src = inputs.plover-machine-hid;
propagatedBuildInputs = [plover hid bitstring];
};
2022-06-16 16:16:05 +00:00
}