3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/starlette/default.nix
R. RyanTM f0411f998e python37Packages.starlette: 0.12.4 -> 0.12.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-starlette/versions
2019-10-11 11:59:35 +02:00

52 lines
841 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiofiles
, graphene
, itsdangerous
, jinja2
, pyyaml
, requests
, ujson
, pytest
, python
, uvicorn
, isPy27
}:
buildPythonPackage rec {
pname = "starlette";
version = "0.12.7";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0zf7nwma801a9hvwwq4xy3rrkca9vydj30s3bnngmm4dvkk575c4";
};
propagatedBuildInputs = [
aiofiles
graphene
itsdangerous
jinja2
pyyaml
requests
ujson
uvicorn
];
checkPhase = ''
${python.interpreter} -c """
from starlette.applications import Starlette
app = Starlette(debug=True)
"""
'';
meta = with lib; {
homepage = https://www.starlette.io/;
description = "The little ASGI framework that shines";
license = licenses.bsd3;
maintainers = with maintainers; [ wd15 ];
};
}