1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, elementpath 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "yangson"; 11 version = "1.4.19"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-rYUxv3TEdyr2D3UEmmHcJJtlG6gXJnp1c2pez4H13SU="; 17 }; 18 19 nativeBuildInputs = [ 20 setuptools-scm 21 ]; 22 23 propagatedBuildInputs = [ 24 elementpath 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "yangson" 33 ]; 34 35 meta = with lib; { 36 description = "Library for working with data modelled in YANG"; 37 homepage = "https://github.com/CZ-NIC/yangson"; 38 license = with licenses; [ 39 gpl3Plus 40 lgpl3Plus 41 ]; 42 maintainers = with maintainers; [ hexa ]; 43 }; 44}