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