python3Packages.pycfmodel: init at 0.13.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -6550,6 +6550,8 @@ in {
|
||||
inherit (pkgs) graphviz;
|
||||
};
|
||||
|
||||
pycfmodel = callPackage ../development/python-modules/pycfmodel { };
|
||||
|
||||
pychannels = callPackage ../development/python-modules/pychannels { };
|
||||
|
||||
pychart = callPackage ../development/python-modules/pychart { };
|
||||
|
||||
Reference in New Issue
Block a user