c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
36 lines
807 B
Nix
36 lines
807 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, flit-core
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "installer";
|
|
version = "0.7.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pypa";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-thHghU+1Alpay5r9Dc3v7ATRFfYKV8l9qR0nbGOOX/A=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
mock
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A low-level library for installing a Python package from a wheel distribution";
|
|
homepage = "https://github.com/pypa/installer";
|
|
changelog = "https://github.com/pypa/installer/blob/${src.rev}/docs/changelog.md";
|
|
license = licenses.mit;
|
|
maintainers = teams.python.members ++ [ maintainers.cpcloud ];
|
|
};
|
|
}
|