Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / requests_download / default.nix
blobb31573a91ca0bb07a07ad0754f9e0d2f12aecdf6
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "requests_download";
9   version = "0.1.2";
11   format = "wheel";
13   #src = pkgs.fetchurl {
14   #  url = "https://files.pythonhosted.org/packages/60/af/10f899f0574a81cbc511124c08d7c7dc46c20d4f956a6a3c793ad4330bb4/requests_download-0.1.2-py2.py3-none-any.whl";
15   #  sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
16   #};
18   src = fetchPypi {
19     inherit pname version format;
20     sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
21   };
23   propagatedBuildInputs = [ requests ];
25   meta = {
26     description = "Download files using requests and save them to a target path";
27     homepage = "https://www.github.com/takluyver/requests_download";
28     license = lib.licenses.mit;
29     maintainers = [ lib.maintainers.fridh ];
30   };