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
53
pkgs/development/python-modules/python-socks/default.nix
Normal file
53
pkgs/development/python-modules/python-socks/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, curio
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, pytest-asyncio
|
||||
, pytest-trio
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, trio
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-socks";
|
||||
version = "2.0.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "romis2012";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-tVoBon9HF9MTOK+dN9g58fQO706ElNlCeULx//7hPWA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
trio
|
||||
curio
|
||||
async-timeout
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
flask
|
||||
pytest-asyncio
|
||||
pytest-trio
|
||||
pytestCheckHook
|
||||
yarl
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"python_socks"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python";
|
||||
homepage = "https://github.com/romis2012/python-socks";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue