mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
43 lines
736 B
Nix
43 lines
736 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, django
|
|
, pygments
|
|
, simplejson
|
|
, dateutil
|
|
, requests
|
|
, sqlparse
|
|
, jinja2
|
|
, autopep8
|
|
, pytz
|
|
, pillow
|
|
, mock
|
|
, gprof2dot
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-silk";
|
|
version = "3.0.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
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;
|
|
};
|
|
|
|
}
|