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
49
pkgs/development/python-modules/fastjsonschema/default.nix
Normal file
49
pkgs/development/python-modules/fastjsonschema/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fastjsonschema";
|
||||
version = "2.15.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "horejsek";
|
||||
repo = "python-fastjsonschema";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-WKnjSlKtMGpWKPbPr7hpS6Dg0+9i/nWVYmar0N3Q9Pc=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
disabledTests = [
|
||||
"benchmark"
|
||||
# these tests require network access
|
||||
"remote ref"
|
||||
"definitions"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"test_compile_to_code_custom_format" # cannot import temporary module created during test
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fastjsonschema"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "JSON schema validator for Python";
|
||||
homepage = "https://horejsek.github.io/python-fastjsonschema/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue