Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
735 B · 40 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, fetchPypi, buildPythonPackage, flit-core, polib, click,}:
buildPythonPackage rec { pname = "lingua"; version = "4.15.0"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-DhqUZ0HbKIpANhrQT/OP4EvwgZg0uKu4TEtTX+2bpO8="; };
postPatch = '' substituteInPlace src/lingua/extract.py \ --replace-fail SafeConfigParser ConfigParser '';
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ click polib ];
pythonImportsCheck = [ "lingua" ];
meta = with lib; { description = "Translation toolset"; homepage = "https://github.com/wichert/lingua"; license = licenses.bsd3; maintainers = with maintainers; [ np ]; };}