1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 attrs,
6 pbr,
7}:
8
9buildPythonPackage rec {
10 pname = "sarif-om";
11 version = "1.0.4";
12 format = "setuptools";
13
14 src = fetchPypi {
15 pname = "sarif_om";
16 inherit version;
17 sha256 = "cd5f416b3083e00d402a92e449a7ff67af46f11241073eea0461802a3b5aef98";
18 };
19
20 nativeBuildInputs = [ pbr ];
21
22 propagatedBuildInputs = [ attrs ];
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 = [ ];
34 };
35}