nixpkgs-suyu/pkgs/development/python-modules/installer/default.nix
2022-04-15 03:29:35 +02:00

35 lines
715 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
, flit-core
, mock
}:
buildPythonPackage rec {
pname = "installer";
version = "0.5.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "pradyunsg";
repo = pname;
rev = version;
sha256 = "sha256-vhZYUhUcD5fnjkyEqFMvggVGH9Ri8iNgqRgSBQTOCtM=";
};
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 ];
};
}