9 buildPythonPackage rec {
15 inherit pname version;
16 hash = "sha256-LxuX5kQsAmgevgG9hPUxAop8rqGvOCUAD1I0XDAoXg8=";
27 # exe are only required when testpath is used on windows
28 # https://github.com/jupyter/testpath/blob/de8ca59539eb23b9781e55848b7d2646c8c61df9/testpath/commands.py#L128
29 preBuild = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
30 rm testpath/cli-32.exe testpath/cli-64.exe
33 preCheck = lib.optionalString stdenv.isDarwin ''
34 # Work around https://github.com/jupyter/testpath/issues/24
39 description = "Test utilities for code working with files and commands";
40 license = licenses.mit;
41 homepage = "https://github.com/jupyter/testpath";