python3Packages.poetry-core: 1.0.8 -> 1.1.0
This commit is contained in:
@@ -1,27 +1,30 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, isPy27
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, build
|
||||
, git
|
||||
, importlib-metadata
|
||||
, intreehooks
|
||||
, pathlib2
|
||||
, pep517
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, tomlkit
|
||||
, typing ? null
|
||||
, virtualenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "poetry-core";
|
||||
version = "1.0.8";
|
||||
version = "1.1.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-poetry";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-cs9SMGD9RdW8Wx/IAMq6gkOUBsney5r19hyGva98grk=";
|
||||
sha256 = "sha256-WUgBrO9h1E7N2SVFD47UPv39DMx1yQviV5tcNPmR+/g=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (pythonOlder "3.8") ''
|
||||
@@ -37,12 +40,10 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
] ++ lib.optionals isPy27 [
|
||||
pathlib2
|
||||
typing
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
build
|
||||
git
|
||||
pep517
|
||||
pytest-mock
|
||||
|
||||
Reference in New Issue
Block a user