1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, pytestCheckHook 6, flit-core 7, mock 8}: 9 10buildPythonPackage rec { 11 pname = "installer"; 12 version = "0.5.1"; 13 format = "pyproject"; 14 15 src = fetchFromGitHub { 16 owner = "pradyunsg"; 17 repo = pname; 18 rev = version; 19 sha256 = "sha256-vhZYUhUcD5fnjkyEqFMvggVGH9Ri8iNgqRgSBQTOCtM="; 20 }; 21 22 nativeBuildInputs = [ flit-core ]; 23 24 checkInputs = [ 25 pytestCheckHook 26 mock 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/pradyunsg/installer"; 31 description = "A low-level library for installing a Python package from a wheel distribution."; 32 license = licenses.mit; 33 maintainers = with maintainers; [ cpcloud fridh ]; 34 }; 35}