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,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
, pillow
|
||||
, python-magic
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-versatileimagefield";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6569d5c3e13c69ab8912ba5100084aa5abcdcffb8d1f5abc085b226e7bbd65b3";
|
||||
};
|
||||
propagatedBuildInputs = [ pillow python-magic ];
|
||||
|
||||
checkInputs = [ django ];
|
||||
|
||||
# tests not included with pypi release
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "versatileimagefield" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Replaces django's ImageField with a more flexible interface";
|
||||
homepage = "https://github.com/respondcreate/django-versatileimagefield/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mmai ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue