about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sarif-om/default.nix
blob: dafaad9d11e337386abff962ca9fcb148df48336 (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
36
{ lib, buildPythonPackage, fetchPypi
, attrs
, pbr
}:

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

  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 ];
  };
}