2020-08-07 07:35:50 +00:00
|
|
|
with import (import ./mach_nix/nix/nixpkgs-src.nix) { config = {}; };
|
2020-10-07 15:56:33 +00:00
|
|
|
let
|
|
|
|
python = python37;
|
|
|
|
machnixDeps = (lib.attrValues (import ./mach_nix/nix/python-deps.nix { inherit python; fetchurl = fetchurl; }));
|
|
|
|
in
|
2020-04-22 09:28:58 +00:00
|
|
|
mkShell {
|
|
|
|
buildInputs = [
|
2020-10-07 15:56:33 +00:00
|
|
|
(python.withPackages ( ps: with ps; machnixDeps ++ [ pytest_6 twine ] ))
|
2020-04-22 09:28:58 +00:00
|
|
|
];
|
|
|
|
shellHook = ''
|
|
|
|
export PYTHONPATH=$(pwd)/
|
|
|
|
'';
|
2020-04-22 12:10:04 +00:00
|
|
|
}
|