3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pycfmodel/default.nix
2022-01-24 20:54:07 +01:00

49 lines
848 B
Nix

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