16 buildPythonPackage rec {
17 pname = "poetry-core";
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
24 owner = "python-poetry";
27 hash = "sha256-OfY2zc+5CgOrgbiPVnvMdT4h1S7Aek8S7iThl6azmsk=";
40 # Requires git history to work correctly
42 "default_with_excluded_data"
43 "default_src_with_excluded_data"
46 pythonImportsCheck = [
50 # Allow for package to use pep420's native namespaces
55 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion";
58 changelog = "https://github.com/python-poetry/poetry-core/blob/${src.rev}/CHANGELOG.md";
59 description = "Core utilities for Poetry";
60 homepage = "https://github.com/python-poetry/poetry-core/";
61 license = licenses.mit;
62 maintainers = with maintainers; [ jonringer ];