@@ -15203,29 +15203,7 @@ in {
1520315203 };
1520415204 });
1520515205
15206− pybfd = buildPythonPackage rec {
15207− name = "pybfd-0.1.1";
15208−
15209− disabled = isPyPy || isPy3k;
15210−
15211− src = pkgs.fetchurl {
15212− url = "mirror://pypi/p/pybfd/${name}.tar.gz";
15213− sha256 = "d99b32ad077e704ddddc0b488c83cae851c14919e5cbc51715d00464a1932df4";
15214− };
15215−
15216− preConfigure = ''
15217− substituteInPlace setup.py \
15218− --replace '"/usr/include"' '"${pkgs.gdb}/include"' \
15219− --replace '"/usr/lib"' '"${pkgs.binutils.lib}/lib"'
15220− '';
15221−
15222− meta = {
15223− homepage = https://github.com/Groundworkstech/pybfd;
15224− description = "A Python interface to the GNU Binary File Descriptor (BFD) library";
15225− license = licenses.gpl2;
15226− platforms = platforms.linux;
15227− };
15228− };
15206+ pybfd = callPackage ../development/python-modules/pybfd { };
1522915207
1523015208 pyblock = stdenv.mkDerivation rec {
1523115209 name = "pyblock-${version}";