2021-08-22 07:53:02 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "pypi-mirror";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "5.0.2";
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "montag451";
|
|
|
|
repo = pname;
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
sha256 = "sha256-AqE3lAcqWq5CGsgwm8jLa1wX93deFC4mKn+oaVhO508=";
|
2021-08-22 07:53:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|