2021-08-22 07:53:02 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "pypi-mirror";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "4.1.0";
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "montag451";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "077f3asi5fdbb2j2ll4xdwv7ndfbfr81bpn3zi55h6idfdc7zzc0";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|