Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / asks / default.nix
blob8be9a9b21160a5c04520019f2526461a09b73f77
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , anyio
6 , async-generator
7 , h11
8 , curio
9 , overly
10 , pytestCheckHook
11 , trio
14 buildPythonPackage rec {
15   pname = "asks";
16   version = "3.0.0";
18   disabled = pythonOlder "3.6";
20   format = "setuptools";
22   src = fetchFromGitHub {
23     owner = "theelous3";
24     repo = "asks";
25     rev = "v${version}";
26     hash = "sha256-ipQ5n2386DqR3kNpmTVhNPG+LC7gfCbvrlZ97+UP55g=";
27   };
29   propagatedBuildInputs = [
30     anyio
31     async-generator
32     h11
33   ];
35   nativeCheckInputs = [
36     curio
37     overly
38     pytestCheckHook
39     trio
40   ];
42   pythonImportsCheck = [ "asks" ];
44   meta = {
45     description = "Async requests-like HTTP library for Python";
46     homepage = "https://github.com/theelous3/asks";
47     license = lib.licenses.mit;
48     maintainers = with lib.maintainers; [ dotlambda ];
49   };