pythonPackages.django_silk: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
99a5f22de6
commit
e0d349a5f1
37
pkgs/development/python-modules/django_silk/default.nix
Normal file
37
pkgs/development/python-modules/django_silk/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
, pygments
|
||||
, simplejson
|
||||
, dateutil
|
||||
, requests
|
||||
, sqlparse
|
||||
, jinja2
|
||||
, autopep8
|
||||
, pytz
|
||||
, pillow
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-silk";
|
||||
version = "0.5.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "845abc688738858ce06e993c4b7dbbcfcecf33029e828f143463ff96f9a78947";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ mock ];
|
||||
propagatedBuildInputs = [ django pygments simplejson dateutil requests sqlparse jinja2 autopep8 pytz pillow ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Silky smooth profiling for the Django Framework";
|
||||
homepage = https://github.com/mtford90/silk;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user