nixpkgs/pkgs/development/python-modules/yarl/default.nix
2018-02-18 12:07:13 +01:00

28 lines
587 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
, multidict
, pytestrunner
, pytest
, idna
}:
buildPythonPackage rec {
pname = "yarl";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "a69dd7e262cdb265ac7d5e929d55f2f3d07baaadd158c8f19caebf8dde08dfe8";
};
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 ];
};
}