nixpkgs/pkgs/development/python-modules/linecache2/default.nix
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

27 lines
537 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pbr,
}:
buildPythonPackage rec {
pname = "linecache2";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0z79g3ds5wk2lvnqw0y2jpakjf32h95bd9zmnvp7dnqhf57gy9jb";
};
buildInputs = [ pbr ];
# circular dependencies for tests
doCheck = false;
meta = {
description = "Backport of linecache to older supported Pythons";
homepage = "https://github.com/testing-cabal/linecache2";
license = lib.licenses.psfl;
};
}