nixpkgs/pkgs/development/python-modules/yarl/default.nix
2020-08-16 19:31:20 +02:00

29 lines
589 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, multidict
, pytestrunner
, pytest
, idna
}:
buildPythonPackage rec {
pname = "yarl";
version = "1.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "c22c75b5f394f3d47105045ea551e08a3e804dc7e01b37800ca35b58f856c3d6";
};
checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ multidict idna ];
meta = with stdenv.lib; {
description = "Yet another URL library";
homepage = "https://github.com/aio-libs/yarl/";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}