Merge pull request #134276 from kamadorueda/python-pypi-mirror
pypi-mirror: init at 4.0.6
This commit is contained in:
commit
456481aa3d
24
pkgs/development/tools/pypi-mirror/default.nix
Normal file
24
pkgs/development/tools/pypi-mirror/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user