2017-11-19 08:33:53 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, isPyPy, isPy3k, libbfd, libopcodes }:
|
2017-11-19 08:28:40 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildPythonPackage {
|
2018-02-26 18:33:30 +00:00
|
|
|
pname = "pybfd";
|
|
|
|
version = "-0.1.1.2017-12-31";
|
2017-11-19 08:28:40 +00:00
|
|
|
|
|
|
|
disabled = isPyPy || isPy3k;
|
|
|
|
|
2017-11-19 08:33:53 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "orivej";
|
|
|
|
repo = "pybfd";
|
2017-12-31 15:20:51 +00:00
|
|
|
rev = "a10ada53f2a79de7f62f209567806ef1e91794c7";
|
|
|
|
sha256 = "0sxzhlqjyvvx1zr3qrkb57z6s3g6k3ksyn65fdm9lvl0k4dv2k9w";
|
2017-11-19 08:28:40 +00:00
|
|
|
};
|
|
|
|
|
2017-11-19 08:33:53 +00:00
|
|
|
LIBBFD_INCLUDE_DIR = "${libbfd.dev}/include";
|
|
|
|
LIBBFD_LIBRARY = "${libbfd}/lib/libbfd.so";
|
|
|
|
LIBOPCODES_INCLUDE_DIR = "${libopcodes.dev}/include";
|
|
|
|
LIBOPCODES_LIBRARY = "${libopcodes}/lib/libopcodes.so";
|
2017-11-19 08:28:40 +00:00
|
|
|
|
|
|
|
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;
|
2017-11-19 08:33:53 +00:00
|
|
|
maintainers = with lib.maintainers; [ orivej ];
|
2017-11-19 08:28:40 +00:00
|
|
|
};
|
|
|
|
}
|