1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 jinja2, 6 pytest, 7}: 8 9buildPythonPackage rec { 10 pname = "coreschema"; 11 version = "0.0.4"; 12 13 src = fetchFromGitHub { 14 repo = "python-coreschema"; 15 owner = "core-api"; 16 rev = version; 17 sha256 = "027pc753mkgbb3r1v1x7dsdaarq93drx0f79ppvw9pfkcjcq6wb1"; 18 }; 19 20 propagatedBuildInputs = [ jinja2 ]; 21 22 nativeCheckInputs = [ pytest ]; 23 checkPhase = '' 24 cd ./tests 25 pytest 26 ''; 27 28 meta = with lib; { 29 description = "Python client library for Core Schema"; 30 homepage = "https://github.com/ivegotasthma/python-coreschema"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ ]; 33 }; 34}