package new dependencies for python3 Seafile 7.1.1
This commit is contained in:
parent
2fbfda643b
commit
6b5ed21c12
5 changed files with 101 additions and 8 deletions
23
django-ranged-response/default.nix
Normal file
23
django-ranged-response/default.nix
Normal 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 schmittlauch ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue