pypi-mirror: init at 4.0.6

This commit is contained in:
Kevin Amado 2021-08-15 18:37:12 -05:00
parent 6e01aa7ca6
commit 6553ddde56
No known key found for this signature in database
GPG key ID: FFF341057F503148
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

@ -12853,6 +12853,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.