Files
nixpkgs/pkgs/development/python-modules/baron/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
693 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
rply,
pytestCheckHook,
isPy3k,
}:
buildPythonPackage rec {
pname = "baron";
version = "0.10.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "af822ad44d4eb425c8516df4239ac4fdba9fdb398ef77e4924cd7c9b4045bc2f";
};
propagatedBuildInputs = [ rply ];
nativeCheckInputs = [ pytestCheckHook ];
doCheck = isPy3k;
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";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ marius851000 ];
};
}