Merge pull request #134276 from kamadorueda/python-pypi-mirror

pypi-mirror: init at 4.0.6
This commit is contained in:
Maximilian Bosch 2021-08-19 13:51:42 +02:00 committed by GitHub
commit 456481aa3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ fetchFromGitHub
, lib
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "pypi-mirror";
version = "4.0.6";
src = fetchFromGitHub {
owner = "montag451";
repo = pname;
rev = "v${version}";
sha256 = "0slh8ahywcgbggfcmzyqpb8bmq9dkk6vvjfkbi0ashnm8c6x19vd";
};
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 ];
};
}

View File

@ -12854,6 +12854,8 @@ with pkgs;
pypi2nix = callPackage ../development/tools/pypi2nix {};
pypi-mirror = callPackage ../development/tools/pypi-mirror {};
setupcfg2nix = python3Packages.callPackage ../development/tools/setupcfg2nix {};
# These pyside tools do not provide any Python modules and are meant to be here.