Merge pull request #309460 from r-ryantm/auto-update/home-manager
[NixPkgs.git] / pkgs / build-support / fetchpypilegacy / tests.nix
blobb16325b96b7ecd65bcaddfca85f28bc614ea91f1
1 { testers, fetchPypiLegacy, ... }: {
2   # Tests that we can send custom headers with spaces in them
3   fetchSimple = testers.invalidateFetcherByDrvHash fetchPypiLegacy {
4     pname = "requests";
5     file = "requests-2.31.0.tar.gz";
6     url = "https://pypi.org/simple";
7     hash = "sha256-lCxadY+Y15Dq7Ropy27vx/+w0c968Fw9J5Flbb1q0eE=";
8   };