mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
Merge pull request #216174 from alyssais/hangups
python3.pkgs.hangups: drop
This commit is contained in:
commit
25669ed74b
@ -1,70 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, configargparse
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, appdirs
|
||||
, readlike
|
||||
, requests
|
||||
, reparser
|
||||
, protobuf
|
||||
, urwid
|
||||
, mechanicalsoup
|
||||
, httpretty
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hangups";
|
||||
version = "0.4.18";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tdryer";
|
||||
repo = "hangups";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vq1OrOUPMQtezBFlisP2f/bvvYprDjhOuwUcT8rmIvw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "protobuf>=3.1.0,<4" "protobuf" \
|
||||
--replace "MechanicalSoup>=0.6.0,<0.13" "MechanicalSoup"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
configargparse
|
||||
aiohttp
|
||||
async-timeout
|
||||
appdirs
|
||||
readlike
|
||||
requests
|
||||
reparser
|
||||
protobuf
|
||||
urwid
|
||||
mechanicalsoup
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
httpretty
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hangups"
|
||||
"hangups.client"
|
||||
"hangups.event"
|
||||
"hangups.parsers"
|
||||
"hangups.user"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The first third-party instant messaging client for Google Hangouts";
|
||||
homepage = "https://github.com/tdryer/hangups";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -102,6 +102,7 @@ mapAliases ({
|
||||
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
|
||||
ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
|
||||
HAP-python = hap-python; # added 2021-06-01
|
||||
hangups = throw "hangups was removed because Google Hangouts has been shut down"; # added 2023-02-13
|
||||
hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
|
||||
hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
||||
hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
|
||||
|
@ -4242,8 +4242,6 @@ self: super: with self; {
|
||||
|
||||
handout = callPackage ../development/python-modules/handout { };
|
||||
|
||||
hangups = callPackage ../development/python-modules/hangups { };
|
||||
|
||||
hap-python = callPackage ../development/python-modules/hap-python { };
|
||||
|
||||
hass-nabucasa = callPackage ../development/python-modules/hass-nabucasa { };
|
||||
|
Loading…
Reference in New Issue
Block a user