mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
c436db00a5
* python3Packages.installer: init at 0.3.0 * chore(python3Packages.installer): add FRidh as maintainer * chore(python3Packages.installer): fix spelling of maintainer
36 lines
715 B
Nix
36 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 ];
|
|
};
|
|
}
|