mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
python3Packages.async-timeout: clean up
This commit is contained in:
parent
56224e27af
commit
5ca63e0462
@ -1,22 +1,19 @@
|
||||
{ lib
|
||||
, fetchurl
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pytestrunner
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
pname = "async-timeout";
|
||||
version = "2.0.0";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c17d8ac2d735d59aa62737d76f2787a6c938f5a944ecf768a8c0ab70b0dea566";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
# Circular dependency on aiohttp
|
||||
doCheck = false;
|
||||
|
||||
@ -27,4 +24,4 @@ in buildPythonPackage rec {
|
||||
homepage = https://github.com/aio-libs/async_timeout/;
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user