mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
23 lines
575 B
Nix
23 lines
575 B
Nix
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, requests, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "requests-file";
|
|
version = "1.5.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests six ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/dashea/requests-file";
|
|
description = "Transport adapter for fetching file:// URLs with the requests python library";
|
|
license = lib.licenses.asl20;
|
|
};
|
|
|
|
}
|