5aa4b19946
Refs: e6754980264fe927320d5ff2dbd24ca4fac9a160 1e9cc5b9844ef603fe160e9f671178f96200774f 793a2fe1e8bb886ca2096c5904e1193dc3268b6d c19cf65261639f749012454932a532aa7c681e4b f6544d618f30fae0bc4798c4387a8c7c9c047a7c
30 lines
899 B
Nix
30 lines
899 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, isPyPy, isPy3k, libbfd, libopcodes }:
|
|
|
|
buildPythonPackage {
|
|
pname = "pybfd";
|
|
version = "-0.1.1.2017-12-31";
|
|
|
|
disabled = isPyPy || isPy3k;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orivej";
|
|
repo = "pybfd";
|
|
rev = "a10ada53f2a79de7f62f209567806ef1e91794c7";
|
|
sha256 = "0sxzhlqjyvvx1zr3qrkb57z6s3g6k3ksyn65fdm9lvl0k4dv2k9w";
|
|
};
|
|
|
|
LIBBFD_INCLUDE_DIR = "${libbfd.dev}/include";
|
|
LIBBFD_LIBRARY = "${libbfd}/lib/libbfd.so";
|
|
LIBOPCODES_INCLUDE_DIR = "${libopcodes.dev}/include";
|
|
LIBOPCODES_LIBRARY = "${libopcodes}/lib/libopcodes.so";
|
|
|
|
meta = {
|
|
homepage = https://github.com/Groundworkstech/pybfd;
|
|
description = "A Python interface to the GNU Binary File Descriptor (BFD) library";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ orivej ];
|
|
broken = true;
|
|
};
|
|
}
|