python3Packages.baron: migrate to pyproject (#528649)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
rply,
|
||||
pytestCheckHook,
|
||||
isPy3k,
|
||||
@@ -10,19 +11,25 @@
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "baron";
|
||||
version = "0.10.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
sha256 = "af822ad44d4eb425c8516df4239ac4fdba9fdb398ef77e4924cd7c9b4045bc2f";
|
||||
hash = "sha256-r4Iq1E1OtCXIUW30I5rE/bqf2zmO935JJM18m0BFvC8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ rply ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ rply ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
doCheck = isPy3k;
|
||||
|
||||
pythonImportsCheck = [ "baron" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/PyCQA/baron";
|
||||
description = "Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task";
|
||||
|
||||
Reference in New Issue
Block a user