X-Git-Url: http://git.scottworley.com/git-cache/blobdiff_plain/b3fd1e86754e11dd196c544b44a6c8a2ad241469..50685beba299ab4b601b6aabb013bb8398c8bfb0:/default.nix diff --git a/default.nix b/default.nix index 6c57b0d..a161d41 100644 --- a/default.nix +++ b/default.nix @@ -1,11 +1,19 @@ { pkgs ? import { }, lint ? false }: + pkgs.python3Packages.callPackage -({ lib, buildPythonPackage, nix, git, autopep8, mypy, pylint, }: +({ lib, buildPythonPackage, nix, git, backoff, autopep8, mypy, pylint, }: buildPythonPackage rec { pname = "git-cache"; - version = "1.2.0-pre"; + version = "1.4.2"; src = lib.cleanSource ./.; + propagatedBuildInputs = [ backoff ]; checkInputs = [ nix git mypy ] ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = "./test.sh"; + meta = { + description = "Cache git content locally"; + homepage = "https://git.scottworley.com/git-cache"; + license = pkgs.lib.licenses.gpl3; + maintainers = with pkgs.lib.maintainers; [ chkno ]; + }; }) { }