python310Packages.asks: init at 3.0.0
This commit is contained in:
parent
0a24fb2a96
commit
77087c710f
2 changed files with 52 additions and 0 deletions
50
pkgs/development/python-modules/asks/default.nix
Normal file
50
pkgs/development/python-modules/asks/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, anyio
|
||||
, async_generator
|
||||
, h11
|
||||
, curio
|
||||
, overly
|
||||
, pytestCheckHook
|
||||
, trio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asks";
|
||||
version = "3.0.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "theelous3";
|
||||
repo = "asks";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ipQ5n2386DqR3kNpmTVhNPG+LC7gfCbvrlZ97+UP55g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
anyio
|
||||
async_generator
|
||||
h11
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
curio
|
||||
overly
|
||||
pytestCheckHook
|
||||
trio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "asks" ];
|
||||
|
||||
meta = {
|
||||
description = "Async requests-like HTTP library for Python";
|
||||
homepage = "https://github.com/theelous3/asks";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -675,6 +675,8 @@ in {
|
|||
|
||||
asgiref = callPackage ../development/python-modules/asgiref { };
|
||||
|
||||
asks = callPackage ../development/python-modules/asks { };
|
||||
|
||||
asmog = callPackage ../development/python-modules/asmog { };
|
||||
|
||||
asn1 = callPackage ../development/python-modules/asn1 { };
|
||||
|
|
Loading…
Reference in a new issue