Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
882 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, isPy27, buildPythonPackage, fetchPypi, setuptools-scm, importlib-metadata, typing ? null, pythonOlder, unittestCheckHook}:
buildPythonPackage rec { pname = "importlib-resources"; version = "6.1.1"; format = "pyproject"; disabled = isPy27;
src = fetchPypi { pname = "importlib_resources"; inherit version; hash = "sha256-OJOgASLq/eaJTFmRREalEvcooMGkX5u5tjchtrrPC0o="; };
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ importlib-metadata ] ++ lib.optionals (pythonOlder "3.5") [ typing ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "importlib_resources" ];
meta = with lib; { description = "Read resources from Python packages"; homepage = "https://importlib-resources.readthedocs.io/"; license = licenses.asl20; maintainers = [ ]; };}