mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 11:33:31 +00:00
fae66ed86c
Diff: https://github.com/pradyunsg/installer/compare/0.6.0...0.7.0 Changelog: https://github.com/pypa/installer/blob/0.7.0/docs/changelog.md
37 lines
805 B
Nix
37 lines
805 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, flit-core
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "installer";
|
|
version = "0.7.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pradyunsg";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-thHghU+1Alpay5r9Dc3v7ATRFfYKV8l9qR0nbGOOX/A=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
mock
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/pypa/installer/blob/${src.rev}/docs/changelog.md";
|
|
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 ];
|
|
};
|
|
}
|