uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
70
pkgs/development/python-modules/hangups/default.nix
Normal file
70
pkgs/development/python-modules/hangups/default.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{ 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,<3.20" "protobuf" \
|
||||
--replace "MechanicalSoup>=0.6.0,<0.13" "MechanicalSoup"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
configargparse
|
||||
aiohttp
|
||||
async-timeout
|
||||
appdirs
|
||||
readlike
|
||||
requests
|
||||
reparser
|
||||
protobuf
|
||||
urwid
|
||||
mechanicalsoup
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue