15 buildPythonPackage rec {
16 pname = "poetry-core";
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
23 owner = "python-poetry";
26 hash = "sha256-vvwKbzGlvv2LTbXfJxQVM3nUXFGntgJxsku6cbRxCzw=";
39 # Requires git history to work correctly
41 "default_with_excluded_data"
42 "default_src_with_excluded_data"
45 pythonImportsCheck = [
49 # Allow for package to use pep420's native namespaces
54 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion";
57 changelog = "https://github.com/python-poetry/poetry-core/blob/${src.rev}/CHANGELOG.md";
58 description = "Core utilities for Poetry";
59 homepage = "https://github.com/python-poetry/poetry-core/";
60 license = licenses.mit;
61 maintainers = with maintainers; [ jonringer ];