]> git.scottworley.com Git - pinch/blame - default.nix
Start on 3.0.0
[pinch] / default.nix
CommitLineData
420bd8c9 1{ pkgs ? import <nixpkgs> { }, lint ? false }:
b5964ec3
SW
2pkgs.python3Packages.callPackage
3({ lib, buildPythonPackage, nix, git, autopep8, mypy, pylint, }:
4 buildPythonPackage rec {
5 pname = "pinch";
25e38f08 6 version = "3.0.0-pre";
b5964ec3 7 src = lib.cleanSource ./.;
420bd8c9 8 checkInputs = [ nix git mypy ] ++ lib.optionals lint [ autopep8 pylint ];
b5964ec3
SW
9 doCheck = true;
10 checkPhase = "./test.sh";
11 }) { }