1 { pkgs ? import <nixpkgs> { }, lint ? false }:
2 pkgs.python3Packages.callPackage
3 ({ lib, buildPythonPackage, nix, git, autopep8, mypy, pylint, }:
4 buildPythonPackage rec {
7 src = lib.cleanSource ./.;
8 checkInputs = [ nix git mypy ] ++ lib.optionals lint [ autopep8 pylint ];
10 checkPhase = "./test.sh";