depot/third_party/nixpkgs/pkgs/development/python-modules/requests-download/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

31 lines
819 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "requests-download";
version = "0.1.2";
format = "wheel";
#src = pkgs.fetchurl {
# url = "https://files.pythonhosted.org/packages/60/af/10f899f0574a81cbc511124c08d7c7dc46c20d4f956a6a3c793ad4330bb4/requests_download-0.1.2-py2.py3-none-any.whl";
# sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
#};
src = fetchPypi {
pname = "requests_download";
inherit version format;
sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
};
propagatedBuildInputs = [ requests ];
meta = {
description = "Download files using requests and save them to a target path";
homepage = "https://www.github.com/takluyver/requests_download";
license = lib.licenses.mit;
};
}