nixpkgs/pkgs/development/python-modules/yarl/default.nix

28 lines
601 B
Nix
Raw Normal View History

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