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
52
pkgs/development/python-modules/pycfmodel/default.nix
Normal file
52
pkgs/development/python-modules/pycfmodel/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, pydantic
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycfmodel";
|
||||
version = "0.20.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Skyscanner";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-syEE03lcOt6tTD88+BJ8nHCkamKn+BX/rZU9TOsxATc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pydantic
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
httpx
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test require network access
|
||||
"test_cloudformation_actions"
|
||||
"test_auxiliar_cast"
|
||||
"test_valid_es_domain_from_aws_documentation_examples_resource_can_be_built"
|
||||
"test_valid_opensearch_domain_from_aws_documentation_examples_resource_can_be_built"
|
||||
"test_resolve_booleans_different_properties_for_generic_resource"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pycfmodel"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Model for Cloud Formation scripts";
|
||||
homepage = "https://github.com/Skyscanner/pycfmodel";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue