1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/python-modules/yarl/default.nix

27 lines
551 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";
2017-12-30 11:28:47 +00:00
version = "0.17.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;
sha256 = "2e4e1aec650ad80e73e7063941cd8aadb48e72487ec680a093ad364cc61efe64";
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;
};
}