Merge branch 'master' into staging
* master: (39 commits) python.pkgs.pybfd: move to python-modules documentation: python 2.6 is no more documentation: python3Packages is python36Packages wireguard: 0.0.20171101 -> 0.0.20171111 php_excel: init at 1.0.2 libxl: init at 3.8.1 matrix-synapse: 0.24.1 -> 0.25.1 grafana: 4.6.1 -> 4.6.2 linux: 4.4.98 -> 4.4.99 linux: 4.9.62 -> 4.9.63 linux: 4.13.13 -> 4.13.14 nixos/zsh: add the type for enableAutosuggestions option zsh-powerlevel9k: init at 2017-11-10 fio: 3.1 -> 3.2 filebench: rehash source nano: 2.8.7 -> 2.9.0 bonnie: replace dead source link less: 520 -> 529 strace: 4.19 -> 4.20 iperf: 3.2 -> 3.3 ...
This commit is contained in:
25
pkgs/development/python-modules/pybfd/default.nix
Normal file
25
pkgs/development/python-modules/pybfd/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, buildPythonPackage, isPyPy, isPy3k, fetchurl, gdb, libbfd }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pybfd-0.1.1";
|
||||
|
||||
disabled = isPyPy || isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pybfd/${name}.tar.gz";
|
||||
sha256 = "d99b32ad077e704ddddc0b488c83cae851c14919e5cbc51715d00464a1932df4";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"/usr/include"' '"${gdb}/include"' \
|
||||
--replace '"/usr/lib"' '"${libbfd}/lib"'
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user