2016-12-11 19:05:40 +00:00
|
|
|
{ lib
|
|
|
|
, fetchurl
|
|
|
|
, buildPythonPackage
|
|
|
|
, multidict
|
|
|
|
, pytestrunner
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "yarl";
|
2017-05-27 13:24:47 +01:00
|
|
|
version = "0.10.2";
|
2016-12-11 19:05:40 +00:00
|
|
|
in buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
2017-05-27 13:24:47 +01:00
|
|
|
sha256 = "a042c5b3584531cd09cd5ca647f71553df7caaa3359b9b3f7eb34c3b1045b38d";
|
2016-12-11 19:05:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ multidict ];
|
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Yet another URL library";
|
|
|
|
homepage = https://github.com/aio-libs/yarl/;
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|