nixpkgs/pkgs/development/python-modules/linecache2/default.nix
Frederik Rietdijk 3fceafce1e buildPython*: remove pythonRecompileBytecodeHook as dependency
This hook was added to get reproducible bytecode. Because it was causing
issues it was disabled, but still kept as a dependency. Now the main
issue with bytecode reproducibility has been resolved by updating pip to
20.2.4, we remove this hook as a dependency.

If a package with Python code is not yet reproducible, one could add
this hook to `nativeBuildInputs`.
2020-11-12 19:32:30 +01:00

27 lines
533 B
Nix

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