pypi-mirror: init at 4.0.6
This commit is contained in:
parent
6e01aa7ca6
commit
6553ddde56
2 changed files with 26 additions and 0 deletions
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -12853,6 +12853,8 @@ with pkgs;
|
||||||
|
|
||||||
pypi2nix = callPackage ../development/tools/pypi2nix {};
|
pypi2nix = callPackage ../development/tools/pypi2nix {};
|
||||||
|
|
||||||
|
pypi-mirror = callPackage ../development/tools/pypi-mirror {};
|
||||||
|
|
||||||
setupcfg2nix = python3Packages.callPackage ../development/tools/setupcfg2nix {};
|
setupcfg2nix = python3Packages.callPackage ../development/tools/setupcfg2nix {};
|
||||||
|
|
||||||
# These pyside tools do not provide any Python modules and are meant to be here.
|
# These pyside tools do not provide any Python modules and are meant to be here.
|
||||||
|
|
Loading…
Reference in a new issue