2016-12-11 19:05:40 +00:00
|
|
|
{ lib
|
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";
|
2017-12-30 11:28:47 +00:00
|
|
|
version = "0.17.0";
|
2016-12-11 19:05:40 +00:00
|
|
|
name = "${pname}-${version}";
|
2017-12-30 11:28:47 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "2e4e1aec650ad80e73e7063941cd8aadb48e72487ec680a093ad364cc61efe64";
|
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
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Yet another URL library";
|
|
|
|
homepage = https://github.com/aio-libs/yarl/;
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|