X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/b5964ec35e259f36550d6e8c7fa60412db05a049..a67cfec99a43c3a437aeab3257552c035ebab5bf:/default.nix?ds=inline 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"; }) { }