2021-08-15 23:37:12 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "pypi-mirror";
|
2023-02-25 12:14:35 +00:00
|
|
|
version = "5.0.2";
|
2021-08-15 23:37:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "montag451";
|
|
|
|
repo = pname;
|
2022-05-25 11:55:40 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-02-25 12:14:35 +00:00
|
|
|
sha256 = "sha256-AqE3lAcqWq5CGsgwm8jLa1wX93deFC4mKn+oaVhO508=";
|
2021-08-15 23:37:12 +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 ];
|
|
|
|
};
|
|
|
|
}
|