mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 22:26:35 +01:00
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>
27 lines
537 B
Nix
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;
|
|
};
|
|
}
|