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