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
|
||||
, fetchFromGitHub
|
||||
, versiontools
|
||||
, django
|
||||
, sampledata
|
||||
, nose
|
||||
, pillow
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-sampledatahelper";
|
||||
version = "0.5";
|
||||
|
||||
# no tests on PyPI
|
||||
src = fetchFromGitHub {
|
||||
owner = "kaleidos";
|
||||
repo = "django-sampledatahelper";
|
||||
rev = "8576f352ec26a3650f4386a6e1285b723f6aec23"; # no tag
|
||||
sha256 = "1fx3ql4b9791594zkary19n20x5ra1m1n3pjaya9di1qy64csac4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ versiontools ];
|
||||
|
||||
propagatedBuildInputs = [ django sampledata ];
|
||||
|
||||
checkInputs = [ nose pillow six ];
|
||||
|
||||
checkPhase = ''
|
||||
DJANGO_SETTINGS_MODULE=tests.settings NOSE_EXCLUDE=test_calling_command nosetests -v
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Helper class for generate sample data for django apps development";
|
||||
homepage = "https://github.com/kaleidos/django-sampledatahelper";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue