ce1c1e3093
With this patch I remove myself as a maintainer for all packages I currently maintain. This is due the fact that I will be basically off the grid from May 2018 until early 2019, as I will be on a trip through north america. I will revert this patch as soon as I'm back, as I plan to continue contributing to nixpkgs then. But as I cannot maintain anything during that time, I'd like to get this patch merged. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
33 lines
657 B
Nix
33 lines
657 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, betamax
|
|
, mock
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "requests-toolbelt";
|
|
version = "0.8.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f6a531936c6fa4c6cfce1b9c10d5c4f498d16528d2a54a22ca00011205a187b5";
|
|
};
|
|
|
|
checkInputs = [ betamax mock pytest ];
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
checkPhase = ''
|
|
py.test tests
|
|
'';
|
|
|
|
meta = {
|
|
description = "A toolbelt of useful classes and functions to be used with python-requests";
|
|
homepage = http://toolbelt.rtfd.org;
|
|
maintainers = with lib.maintainers; [ jgeerds ];
|
|
};
|
|
}
|