parent
8fc6055ce7
commit
1c7a90375c
@ -0,0 +1,48 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchFromGitHub |
||||
, httpx |
||||
, pydantic |
||||
, pytestCheckHook |
||||
, pythonOlder |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "pycfmodel"; |
||||
version = "0.13.0"; |
||||
format = "setuptools"; |
||||
|
||||
disabled = pythonOlder "3.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Skyscanner"; |
||||
repo = pname; |
||||
rev = version; |
||||
hash = "sha256-BlnLf0C/wxPXhoAH0SRB22eGWbbZ05L20rNy6qfOI+A="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
pydantic |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
httpx |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
disabledTests = [ |
||||
# Test require network access |
||||
"test_cloudformation_actions" |
||||
]; |
||||
|
||||
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…
Reference in new issue