2018-01-22 17:09:13 +01:00
|
|
|
{ stdenv
|
2017-12-30 12:28:47 +01:00
|
|
|
, fetchPypi
|
2016-12-11 20:05:40 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, multidict
|
|
|
|
, pytestrunner
|
|
|
|
, pytest
|
2017-12-30 12:28:47 +01:00
|
|
|
, idna
|
2016-12-11 20:05:40 +01:00
|
|
|
}:
|
|
|
|
|
2017-12-30 12:28:47 +01:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 20:05:40 +01:00
|
|
|
pname = "yarl";
|
2018-02-18 12:07:13 +01:00
|
|
|
version = "1.1.1";
|
2018-01-22 17:09:13 +01:00
|
|
|
|
2017-12-30 12:28:47 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-18 12:07:13 +01:00
|
|
|
sha256 = "a69dd7e262cdb265ac7d5e929d55f2f3d07baaadd158c8f19caebf8dde08dfe8";
|
2016-12-11 20:05:40 +01:00
|
|
|
};
|
|
|
|
|
2017-12-30 12:28:47 +01:00
|
|
|
checkInputs = [ pytest pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ multidict idna ];
|
2016-12-11 20:05:40 +01:00
|
|
|
|
2018-01-22 17:09:13 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-12-11 20:05:40 +01:00
|
|
|
description = "Yet another URL library";
|
|
|
|
homepage = https://github.com/aio-libs/yarl/;
|
2018-01-22 17:09:13 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2016-12-11 20:05:40 +01:00
|
|
|
};
|
2018-01-22 17:09:13 +01:00
|
|
|
}
|