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