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
33
pkgs/development/python-modules/snapshottest/default.nix
Normal file
33
pkgs/development/python-modules/snapshottest/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fastdiff
|
||||
, six
|
||||
, termcolor
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "snapshottest";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0g35ggqw4jd9zmazw55kj6gfjdghv49qx4jw5q231qyqj8fzijmv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fastdiff six termcolor ];
|
||||
|
||||
checkInputs = [ django pytestCheckHook pytest-cov ];
|
||||
|
||||
pythonImportsCheck = [ "snapshottest" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snapshot testing for pytest, unittest, Django, and Nose";
|
||||
homepage = "https://github.com/syrusakbary/snapshottest";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue