Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 24 lines 577 B view raw
1{ fetchFromGitHub 2, lib 3, python3 4}: 5python3.pkgs.buildPythonApplication rec { 6 pname = "pypi-mirror"; 7 version = "5.0.2"; 8 9 src = fetchFromGitHub { 10 owner = "montag451"; 11 repo = pname; 12 rev = "refs/tags/v${version}"; 13 sha256 = "sha256-AqE3lAcqWq5CGsgwm8jLa1wX93deFC4mKn+oaVhO508="; 14 }; 15 16 pythonImportsCheck = [ "pypi_mirror" ]; 17 18 meta = with lib; { 19 description = "A script to create a partial PyPI mirror"; 20 homepage = "https://github.com/montag451/pypi-mirror"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ kamadorueda ]; 23 }; 24}