nixpkgs/pkgs/build-support/fetchpypilegacy/tests.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
339 B
Nix
Raw Normal View History

2024-08-12 05:02:16 +00:00
{ testers, fetchPypiLegacy, ... }:
{
2023-11-12 16:40:41 +00:00
# Tests that we can send custom headers with spaces in them
fetchSimple = testers.invalidateFetcherByDrvHash fetchPypiLegacy {
pname = "requests";
file = "requests-2.31.0.tar.gz";
url = "https://pypi.org/simple";
hash = "sha256-lCxadY+Y15Dq7Ropy27vx/+w0c968Fw9J5Flbb1q0eE=";
};
}