uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, six
|
||||
, testfixtures
|
||||
, django
|
||||
, django-ranged-response
|
||||
, pillow
|
||||
, withTTS ? true
|
||||
, flite
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-simple-captcha";
|
||||
version = "0.5.14";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "84b5c188e6ae50e9ecec5e5d734c5bc4d2a50fbbca7f59d2c12da9a3bbee5051";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
checkInputs = [ testfixtures ];
|
||||
checkPhase = ''
|
||||
cd testproject
|
||||
${python.interpreter} manage.py test captcha
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ django django-ranged-response six pillow ]
|
||||
++ lib.optional withTTS flite;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An extremely simple, yet highly customizable Django application to add captcha images to any Django form";
|
||||
homepage = "https://github.com/mbi/django-simple-captcha";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mrmebelman schmittlauch ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue