nixpkgs/pkgs/build-support/fetchpypilegacy/tests.nix
2024-02-17 17:11:59 +13:00

10 lines
339 B
Nix

{ testers, fetchPypiLegacy, ... }: {
# 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=";
};
}