2018-01-22 16:09:13 +00:00
|
|
|
{ stdenv
|
2017-12-30 11:28:47 +00:00
|
|
|
, fetchPypi
|
2016-12-11 19:05:40 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, multidict
|
|
|
|
, pytestrunner
|
|
|
|
, pytest
|
2017-12-30 11:28:47 +00:00
|
|
|
, idna
|
2016-12-11 19:05:40 +00:00
|
|
|
}:
|
|
|
|
|
2017-12-30 11:28:47 +00:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 19:05:40 +00:00
|
|
|
pname = "yarl";
|
2019-12-19 19:31:26 +00:00
|
|
|
version = "1.4.2";
|
2018-01-22 16:09:13 +00:00
|
|
|
|
2017-12-30 11:28:47 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:26 +00:00
|
|
|
sha256 = "58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b";
|
2016-12-11 19:05:40 +00:00
|
|
|
};
|
|
|
|
|
2017-12-30 11:28:47 +00:00
|
|
|
checkInputs = [ pytest pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ multidict idna ];
|
2016-12-11 19:05:40 +00:00
|
|
|
|
2018-01-22 16:09:13 +00:00
|
|
|
meta = with stdenv.lib; {
|
2016-12-11 19:05:40 +00:00
|
|
|
description = "Yet another URL library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/aio-libs/yarl/";
|
2018-01-22 16:09:13 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2016-12-11 19:05:40 +00:00
|
|
|
};
|
2018-01-22 16:09:13 +00:00
|
|
|
}
|