16 buildPythonPackage rec {
17 pname = "poetry-core";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
24 owner = "python-poetry";
27 hash = "sha256-3Ryfq0MwrL/mKP8DmkhLOyFlulf3c73z9fFIzMuqOrg=";
30 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
45 # Requires git history to work correctly
47 "default_with_excluded_data"
48 "default_src_with_excluded_data"
51 pythonImportsCheck = [
55 # Allow for package to use pep420's native namespaces
61 description = "Core utilities for Poetry";
62 homepage = "https://github.com/python-poetry/poetry-core/";
63 license = licenses.mit;
64 maintainers = with maintainers; [ jonringer ];