depot/third_party/nixpkgs/pkgs/development/python-modules/installer/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

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 ];
};
}