pybitmessage: remove

> "Programming Language :: Python :: 2.7 :: Only",
This commit is contained in:
Martin Weinelt 2022-01-02 03:59:12 +01:00
parent f91116586a
commit 71e2b303c1
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
3 changed files with 1 additions and 42 deletions

View file

@ -1,40 +0,0 @@
{ lib, fetchFromGitHub, python2Packages, openssl }:
python2Packages.buildPythonApplication rec {
pname = "pybitmessage";
version = "0.6.3.2";
src = fetchFromGitHub {
owner = "bitmessage";
repo = "PyBitmessage";
rev = version;
sha256 = "1lmhbpwsqh1v93krlqqhafw2pc3y0qp8zby186yllbph6s8kdp35";
};
propagatedBuildInputs = with python2Packages; [ msgpack pyqt4 numpy pyopencl setuptools ] ++ [ openssl ];
preConfigure = ''
# Remove interaction and misleading output
substituteInPlace setup.py \
--replace "nothing = raw_input()" pass \
--replace 'print "It looks like building the package failed.\n" \' pass \
--replace ' "You may be missing a C++ compiler and the OpenSSL headers."' pass \
--replace 'msgpack-python' 'msgpack'
substituteInPlace src/pyelliptic/openssl.py \
--replace "libdir.append(find_library('ssl'))" "libdir.append('${openssl.out}/lib/libssl.so')"
substituteInPlace src/depends.py \
--replace "ctypes.util.find_library('ssl')" "'${openssl.out}/lib/libssl.so'"
'';
meta = with lib; {
homepage = "https://bitmessage.org/";
description = "The official Bitmessage client";
license = licenses.mit;
maintainers = with maintainers; [ jgillich ];
platforms = with platforms; linux;
};
}

View file

@ -776,6 +776,7 @@ mapAliases ({
phonon-backend-vlc = throw "phonon-backend-vlc: Please use libsForQt5.phonon-backend-vlc, as Qt4 support in this package has been removed."; # added 2019-11-22
phonon = throw "phonon: Please use libsForQt5.phonon, as Qt4 support in this package has been removed."; # added 2019-11-22
pybind11 = throw "pybind11 was removed because pythonPackages.pybind11 for the appropriate version of Python should be used"; # added 2021-05-14
pybitmessage = throw "pybitmessage was removed from nixpkgs as it is stuck on python2."; # added 2022-01-01
pynagsystemd = throw "pynagsystemd was removed as it was unmaintained and incompatible with recent systemd versions. Instead use its fork check_systemd."; # added 2020-10-24
pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-01
python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead."; # added 2021-03-08

View file

@ -28038,8 +28038,6 @@ with pkgs;
pwdsafety = callPackage ../tools/security/pwdsafety { };
pybitmessage = callPackage ../applications/networking/instant-messengers/pybitmessage { };
qbittorrent = libsForQt5.callPackage ../applications/networking/p2p/qbittorrent { };
qbittorrent-nox = qbittorrent.override {
guiSupport = false;