depot/third_party/nixpkgs/pkgs/development/tools/pypi-mirror/default.nix
Default email a8b1b57b85 Project import generated by Copybara.
GitOrigin-RevId: fc4148a47fa927319186061aa42633c8aa5777f1
2022-01-22 02:22:15 +01:00

24 lines
568 B
Nix

{ fetchFromGitHub
, lib
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "pypi-mirror";
version = "4.2.0";
src = fetchFromGitHub {
owner = "montag451";
repo = pname;
rev = "v${version}";
sha256 = "1ci19bqyhig1s5myzw6klkiycd8k0lzhk3yqfx5fjirc2f0xpz5j";
};
pythonImportsCheck = [ "pypi_mirror" ];
meta = with lib; {
description = "A script to create a partial PyPI mirror";
homepage = "https://github.com/montag451/pypi-mirror";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};
}