git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.requests_download: add missing file, fixes eval
commit1450f6cdb3010c407c6ca0e3aa9dae64edae842a authorFrederik Rietdijk <fridh@fridh.nl> dateSun 29 Oct 2017, 15:13 (9 years ago) parent529c000
1 file changed+32
pkgs/development/python-modules/requests_download/default.nix+32
pkgs/development/python-modules/requests_download/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, requests
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "requests_download";
9+ version = "0.1.1";
10+ name = "${pname}-${version}";
11+
12+ format = "wheel";
13+
14+ #src = pkgs.fetchurl {
15+ # url = https://files.pythonhosted.org/packages/60/af/10f899f0574a81cbc511124c08d7c7dc46c20d4f956a6a3c793ad4330bb4/requests_download-0.1.1-py2.py3-none-any.whl;
16+ # sha256 = "07832a93314bcd619aaeb08611ae245728e66672efb930bc2a300a115a47dab7";
17+ #};
18+
19+ src = fetchPypi {
20+ inherit pname version format;
21+ sha256 = "07832a93314bcd619aaeb08611ae245728e66672efb930bc2a300a115a47dab7";
22+ };
23+
24+ propagatedBuildInputs = [ requests ];
25+
26+ meta = {
27+ description = "Download files using requests and save them to a target path";
28+ homepage = https://www.github.com/takluyver/requests_download;
29+ license = lib.licenses.mit;
30+ maintainer = lib.maintainers.fridh;
31+ };
32+}