nixpkgs/pkgs/development/python-modules/traceback2/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
586 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pbr,
linecache2,
}:
buildPythonPackage rec {
version = "1.4.0";
format = "setuptools";
pname = "traceback2";
src = fetchPypi {
inherit pname version;
sha256 = "0c1h3jas1jp1fdbn9z2mrgn3jj0hw1x3yhnkxp7jw34q15xcdb05";
};
propagatedBuildInputs = [
pbr
linecache2
];
# circular dependencies for tests
doCheck = false;
meta = with lib; {
description = "Backport of traceback to older supported Pythons";
homepage = "https://pypi.python.org/pypi/traceback2/";
license = licenses.psfl;
};
}