depot/third_party/nixpkgs/pkgs/development/python-modules/installer/default.nix
Default email 4cb23072fc Project import generated by Copybara.
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
2022-01-20 00:45:15 +01:00

35 lines
715 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
, flit-core
, mock
}:
buildPythonPackage rec {
pname = "installer";
version = "0.3.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "pradyunsg";
repo = pname;
rev = version;
sha256 = "sha256-AxAQgDhRFkb0HB7ttDb+pHuHzwnNDX6UOm9rswzIwmI=";
};
nativeBuildInputs = [ flit-core ];
checkInputs = [
pytestCheckHook
mock
];
meta = with lib; {
homepage = "https://github.com/pradyunsg/installer";
description = "A low-level library for installing a Python package from a wheel distribution.";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud fridh ];
};
}