Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 60 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, build, git, pytest-mock, pytestCheckHook, setuptools, tomli-w, virtualenv,}:
buildPythonPackage rec { pname = "poetry-core"; version = "1.9.0"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "python-poetry"; repo = pname; rev = version; hash = "sha256-vvwKbzGlvv2LTbXfJxQVM3nUXFGntgJxsku6cbRxCzw="; };
nativeCheckInputs = [ build git pytest-mock pytestCheckHook setuptools tomli-w virtualenv ];
# Requires git history to work correctly disabledTests = [ "default_with_excluded_data" "default_src_with_excluded_data" ];
pythonImportsCheck = [ "poetry.core" ];
# Allow for package to use pep420's native namespaces pythonNamespaces = [ "poetry" ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion";
meta = with lib; { changelog = "https://github.com/python-poetry/poetry-core/blob/${src.rev}/CHANGELOG.md"; description = "Core utilities for Poetry"; homepage = "https://github.com/python-poetry/poetry-core/"; license = licenses.mit; maintainers = with maintainers; [ jonringer ]; };}