pythonPackages.django-ranged-response: init at 0.2.0

co-author: Vladyslav Burzakovskyy <vladislav.burzakovskij@satoshilabs.com>
This commit is contained in:
Trolli Schmittlauch 2019-12-27 11:32:22 +01:00 committed by Jon
parent e1ce60ae7a
commit e5255bfd30
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, fetchPypi, buildPythonPackage, django }:
buildPythonPackage rec {
pname = "django-ranged-response";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "11gr3jpmb5rvg3scv026kjwwkmnxwivgq5ypxadnnc9p58szy7zp";
};
# tests not included in PyPi package, github source is not up to date with 0.2.0
doCheck = false;
propagatedBuildInputs = [ django ];
meta = with stdenv.lib; {
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";
homepage = "https://github.com/wearespindle/django-ranged-fileresponse";
license = licenses.mit;
maintainers = with maintainers; [ mrmebelman ];
};
}

View File

@ -3203,6 +3203,8 @@ in {
django-postgresql-netfields = callPackage ../development/python-modules/django-postgresql-netfields { };
django-ranged-response = callPackage ../development/python-modules/django-ranged-response { };
django-rest-auth = callPackage ../development/python-modules/django-rest-auth { };
django-sampledatahelper = callPackage ../development/python-modules/django-sampledatahelper { };