python3Packages.tern: fix build

This commit is contained in:
Jonathan Ringer
2021-06-30 13:35:44 -07:00
committed by Jonathan Ringer
parent d83346aedb
commit e9e4f0c54c
2 changed files with 1 additions and 48 deletions
@@ -13,6 +13,7 @@
, prettytable
, idna
}:
buildPythonPackage rec {
pname = "tern";
version = "2.6.1";
@@ -22,14 +23,6 @@ buildPythonPackage rec {
sha256 = "749c18ef493ebe3ac28624b2b26c6e38f77de2afd6a6579d2c92393d8fbdbd46";
};
patches = [
# debut was renamed to debian-inspector
# https://github.com/tern-tools/tern/pull/962
# NOTE: Has to be in-tree because the upstream patch doesn't apply cleanly
# to the PyPi source.
./0001-Replace-debut-with-debian-inspector.patch
];
preBuild = ''
cp requirements.{in,txt}
'';