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
63
pkgs/development/python-modules/approvaltests/default.nix
Normal file
63
pkgs/development/python-modules/approvaltests/default.nix
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# propagates
|
||||
, allpairspy
|
||||
, beautifulsoup4
|
||||
, empty-files
|
||||
, pyperclip
|
||||
, pytest
|
||||
|
||||
# tests
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "5.2.0";
|
||||
pname = "approvaltests";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6.1";
|
||||
|
||||
# no tests included in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "approvals";
|
||||
repo = "ApprovalTests.Python";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-PrO6NC+ARv0o1KHv+ekPwkEi4VpBIj+YjWRrCSFMHI8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
allpairspy
|
||||
beautifulsoup4
|
||||
empty-files
|
||||
pyperclip
|
||||
pytest
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
numpy
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# tests expects paths below ApprovalTests.Python directory
|
||||
"test_received_filename"
|
||||
"test_pytest_namer"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"approvaltests.approvals"
|
||||
"approvaltests.reporters.generic_diff_reporter_factory"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Assertion/verification library to aid testing";
|
||||
homepage = "https://github.com/approvals/ApprovalTests.Python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue