3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/django_silk/default.nix

43 lines
736 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, django
, pygments
, simplejson
, dateutil
, requests
, sqlparse
, jinja2
, autopep8
, pytz
, pillow
, mock
, gprof2dot
}:
buildPythonPackage rec {
pname = "django-silk";
2019-04-24 17:42:48 +01:00
version = "3.0.2";
src = fetchPypi {
inherit pname version;
2019-04-24 17:42:48 +01:00
sha256 = "8dd5b78531360bd8c3d571384f9f4f82ef03e1764e30dd4621c5638f5c973a1d";
};
doCheck = false;
buildInputs = [ mock ];
propagatedBuildInputs = [
django pygments simplejson dateutil requests
sqlparse jinja2 autopep8 pytz pillow gprof2dot
];
meta = with stdenv.lib; {
description = "Silky smooth profiling for the Django Framework";
homepage = https://github.com/mtford90/silk;
license = licenses.mit;
};
}