Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 884 B view raw
1{ lib, fetchFromGitHub, buildPythonPackage, isPyPy, isPy3k, libbfd, libopcodes }: 2 3buildPythonPackage rec { 4 pname = "pybfd"; 5 version = "-0.1.1.2017-12-31"; 6 7 disabled = isPyPy || isPy3k; 8 9 src = fetchFromGitHub { 10 owner = "orivej"; 11 repo = "pybfd"; 12 rev = "a10ada53f2a79de7f62f209567806ef1e91794c7"; 13 sha256 = "0sxzhlqjyvvx1zr3qrkb57z6s3g6k3ksyn65fdm9lvl0k4dv2k9w"; 14 }; 15 16 LIBBFD_INCLUDE_DIR = "${libbfd.dev}/include"; 17 LIBBFD_LIBRARY = "${libbfd}/lib/libbfd.so"; 18 LIBOPCODES_INCLUDE_DIR = "${libopcodes.dev}/include"; 19 LIBOPCODES_LIBRARY = "${libopcodes}/lib/libopcodes.so"; 20 21 meta = { 22 homepage = https://github.com/Groundworkstech/pybfd; 23 description = "A Python interface to the GNU Binary File Descriptor (BFD) library"; 24 license = lib.licenses.gpl2; 25 platforms = lib.platforms.linux; 26 maintainers = with lib.maintainers; [ orivej ]; 27 }; 28}