File: tox.nix

package info (click to toggle)
pytest-httpserver 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 908 kB
  • sloc: python: 2,382; makefile: 77; sh: 21
file content (17 lines) | stat: -rw-r--r-- 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs ? import <nixpkgs> {} }:

let
  unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
  toxPython = p: p.withPackages ( p: [ p.pip ] );
  basePython = p: (p.withPackages ( p: [ p.virtualenv p.pip p.tox ] ));

in pkgs.mkShell {
  buildInputs = with pkgs; [
    (basePython python311)
    (toxPython python310)
    (toxPython python39)
    (toxPython python38)

    bashInteractive
  ];
}