Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 43 lines 893 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "git-dumper"; 9 version = "1.0.8"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "arthaud"; 14 repo = "git-dumper"; 15 tag = version; 16 hash = "sha256-XU+6Od+mC8AV+w7sd8JaMB2Lc81ekeDLDiGGNu6bU0A="; 17 }; 18 19 build-system = [ 20 python3Packages.setuptools 21 ]; 22 23 dependencies = with python3Packages; [ 24 beautifulsoup4 25 dulwich 26 pysocks 27 requests 28 requests-pkcs12 29 ]; 30 31 pythonImportsCheck = [ 32 "git_dumper" 33 ]; 34 35 meta = { 36 description = "Tool to dump a git repository from a website"; 37 homepage = "https://github.com/arthaud/git-dumper"; 38 changelog = "https://github.com/arthaud/git-dumper/releases/tag/${version}"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ yechielw ]; 41 mainProgram = "git-dumper"; 42 }; 43}