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