]> git.scottworley.com Git - git-cache/blobdiff - default.nix
Say a little more in the README about why this is useful
[git-cache] / default.nix
index c3515715a3b6e30a1321fa18817c501e9a6c23c6..a161d41c6c6dd5debbdfea977f105caa4b459a05 100644 (file)
@@ -1,11 +1,19 @@
 { pkgs ? import <nixpkgs> { }, 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.0.0";
+    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 ];
+    };
   }) { }