python3Packages.pycfmodel: init at 0.13.0

This commit is contained in:
Fabian Affolter 2022-01-24 20:54:07 +01:00
parent 8fc6055ce7
commit 1c7a90375c
2 changed files with 50 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 { };