X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/b5964ec35e259f36550d6e8c7fa60412db05a049..e8bd4979a02d7bb9e8fb7d978fd0e986d7ee60d1:/default.nix?ds=inline diff --git a/default.nix b/default.nix index 942ef10..3209685 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 = "2.0.0-pre"; src = lib.cleanSource ./.; - checkInputs = [ nix git autopep8 mypy pylint ]; + checkInputs = [ nix git mypy ] ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = "./test.sh"; }) { }