summary refs log tree commit diff
path: root/pkgs/development/python-modules/sarif-om/default.nix
blob: b7b334ebf9ba3ca4fe9b163591b28c225ac6d415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, buildPythonPackage, fetchPypi
, attrs
, pbr
}:

buildPythonPackage rec {
  pname = "sarif-om";
  version = "1.0.4";

  src = fetchPypi {
    pname = "sarif_om";
    inherit version;
    sha256 = "cd5f416b3083e00d402a92e449a7ff67af46f11241073eea0461802a3b5aef98";
  };

  nativeBuildInputs = [
    pbr
  ];

  propagatedBuildInputs = [
    attrs
  ];

  pythonImportsCheck = [ "sarif_om" ];

  # no tests included with tarball
  doCheck = false;

  meta = with lib; {
    description = "Classes implementing the SARIF 2.1.0 object model";
    homepage = "https://github.com/microsoft/sarif-python-om";
    license = licenses.mit;
    maintainers = with maintainers; [ jonringer ];
  };
}