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

27 lines
551 B
Nix
Raw Normal View History

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