Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
815 B · 44 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchPypi, flit, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pyphen"; version = "0.14.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-WWyLO+HBpwQRul9lF9nM/jCDx1iuK5SkXycHNG2OZvo="; };
nativeBuildInputs = [ flit ];
preCheck = '' sed -i '/addopts/d' pyproject.toml '';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyphen" ];
meta = with lib; { description = "Module to hyphenate text"; homepage = "https://github.com/Kozea/Pyphen"; changelog = "https://github.com/Kozea/Pyphen/releases/tag/${version}"; license = with licenses; [gpl2 lgpl21 mpl20]; maintainers = with maintainers; [ rvl ]; };}