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
32
pkgs/development/python-modules/pytest-django/default.nix
Normal file
32
pkgs/development/python-modules/pytest-django/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, django
|
||||
, setuptools-scm
|
||||
, django-configurations
|
||||
, pytest-xdist
|
||||
, six
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-django";
|
||||
version = "4.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d9076f759bb7c36939dbdd5ae6633c18edfc2902d1a69fdbefd2426b970ce6c2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytest setuptools-scm ];
|
||||
checkInputs = [ pytest django-configurations pytest-xdist six ];
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
# Complicated. Requires Django setup.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "py.test plugin for testing of Django applications";
|
||||
homepage = "https://pytest-django.readthedocs.org/en/latest/";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue