Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / django-ranged-response / default.nix
blobdf5fc4b205b18a6b2bcc9efde3cc0c59eaa72a25
1 { lib, fetchurl, fetchPypi, buildPythonPackage, django }:
3 buildPythonPackage rec {
4   pname = "django-ranged-response";
5   version = "0.2.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "11gr3jpmb5rvg3scv026kjwwkmnxwivgq5ypxadnnc9p58szy7zp";
10   };
12   # tests not included in PyPi package, github source is not up to date with 0.2.0
13   doCheck = false;
15   propagatedBuildInputs = [ django ];
17   meta = with lib; {
18     description = "A modified FileResponse that returns `Content-Range` headers with the HTTP response, so browsers (read Safari 9+) that request the file, can stream the response properly";
19     homepage = "https://github.com/wearespindle/django-ranged-fileresponse";
20     license = licenses.mit;
21     maintainers = with maintainers; [ mrmebelman ];
22   };