1{ lib, buildPythonPackage, fetchPypi 2, attrs 3, pbr 4}: 5 6buildPythonPackage rec { 7 pname = "sarif-om"; 8 version = "1.0.4"; 9 10 src = fetchPypi { 11 pname = "sarif_om"; 12 inherit version; 13 sha256 = "cd5f416b3083e00d402a92e449a7ff67af46f11241073eea0461802a3b5aef98"; 14 }; 15 16 nativeBuildInputs = [ 17 pbr 18 ]; 19 20 propagatedBuildInputs = [ 21 attrs 22 ]; 23 24 pythonImportsCheck = [ "sarif_om" ]; 25 26 # no tests included with tarball 27 doCheck = false; 28 29 meta = with lib; { 30 description = "Classes implementing the SARIF 2.1.0 object model"; 31 homepage = "https://github.com/microsoft/sarif-python-om"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ jonringer ]; 34 }; 35}