2017-10-29 14:13:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "requests_download";
|
2018-10-24 07:35:55 +01:00
|
|
|
version = "0.1.2";
|
2017-10-29 14:13:57 +00:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
#src = pkgs.fetchurl {
|
2020-04-18 12:43:47 +01:00
|
|
|
# url = "https://files.pythonhosted.org/packages/60/af/10f899f0574a81cbc511124c08d7c7dc46c20d4f956a6a3c793ad4330bb4/requests_download-0.1.2-py2.py3-none-any.whl";
|
2018-10-24 07:35:55 +01:00
|
|
|
# sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
|
2017-10-29 14:13:57 +00:00
|
|
|
#};
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version format;
|
2018-10-24 07:35:55 +01:00
|
|
|
sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
|
2017-10-29 14:13:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Download files using requests and save them to a target path";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.github.com/takluyver/requests_download";
|
2017-10-29 14:13:57 +00:00
|
|
|
license = lib.licenses.mit;
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = [ lib.maintainers.fridh ];
|
2017-10-29 14:13:57 +00:00
|
|
|
};
|
2017-12-05 22:20:11 +00:00
|
|
|
}
|