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

27 lines
550 B
Nix
Raw Normal View History

2016-12-11 19:05:40 +00:00
{ lib
2017-12-30 11:28:47 +00:00
, fetchPypi
2016-12-11 19:05:40 +00:00
, buildPythonPackage
, multidict
, pytestrunner
, pytest
2017-12-30 11:28:47 +00:00
, idna
2016-12-11 19:05:40 +00:00
}:
2017-12-30 11:28:47 +00:00
buildPythonPackage rec {
2016-12-11 19:05:40 +00:00
pname = "yarl";
2018-01-20 11:00:33 +00:00
version = "1.0.0";
2016-12-11 19:05:40 +00:00
name = "${pname}-${version}";
2017-12-30 11:28:47 +00:00
src = fetchPypi {
inherit pname version;
2018-01-20 11:00:33 +00:00
sha256 = "5ea610467a04d99bfc8878186330b28859eafc6ca589cdd24ba6fb7234c4b011";
2016-12-11 19:05:40 +00:00
};
2017-12-30 11:28:47 +00:00
checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ multidict idna ];
2016-12-11 19:05:40 +00:00
meta = {
description = "Yet another URL library";
homepage = https://github.com/aio-libs/yarl/;
license = lib.licenses.asl20;
};
}