X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/b5964ec35e259f36550d6e8c7fa60412db05a049..7d2c278fa53b6c76eff793b1b38d588bb4cb884d:/default.nix diff --git a/default.nix b/default.nix index 942ef10..c2c751c 100644 --- a/default.nix +++ b/default.nix @@ -1,11 +1,11 @@ -{ pkgs ? import { } }: +{ pkgs ? import { }, lint ? false }: pkgs.python3Packages.callPackage ({ lib, buildPythonPackage, nix, git, autopep8, mypy, pylint, }: buildPythonPackage rec { pname = "pinch"; - version = "1.3"; + version = "1.5.1"; src = lib.cleanSource ./.; - checkInputs = [ nix git autopep8 mypy pylint ]; + checkInputs = [ nix git mypy ] ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = "./test.sh"; }) { }