Unverified Commit 3811d20e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

git-dump: init at 1.0.8 (#388988)

parents 81b934af ec744fd4
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  python3Packages,
}:

python3Packages.buildPythonApplication rec {
  pname = "git-dumper";
  version = "1.0.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "arthaud";
    repo = "git-dumper";
    tag = version;
    hash = "sha256-XU+6Od+mC8AV+w7sd8JaMB2Lc81ekeDLDiGGNu6bU0A=";
  };

  build-system = [
    python3Packages.setuptools
  ];

  dependencies = with python3Packages; [
    beautifulsoup4
    dulwich
    pysocks
    requests
    requests-pkcs12
  ];

  pythonImportsCheck = [
    "git_dumper"
  ];

  meta = {
    description = "Tool to dump a git repository from a website";
    homepage = "https://github.com/arthaud/git-dumper";
    changelog = "https://github.com/arthaud/git-dumper/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ yechielw ];
    mainProgram = "git-dumper";
  };
}