X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/b5964ec35e259f36550d6e8c7fa60412db05a049..6a17c53ee6bcb74bbf32ca4a616ceadb24701534:/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"; }) { }