3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/yarl/default.nix
2017-12-31 11:08:18 +01:00

27 lines
551 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, multidict
, pytestrunner
, pytest
, idna
}:
buildPythonPackage rec {
pname = "yarl";
version = "0.17.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "2e4e1aec650ad80e73e7063941cd8aadb48e72487ec680a093ad364cc61efe64";
};
checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ multidict idna ];
meta = {
description = "Yet another URL library";
homepage = https://github.com/aio-libs/yarl/;
license = lib.licenses.asl20;
};
}