mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
36 lines
694 B
Nix
36 lines
694 B
Nix
{ 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 ];
|
|
};
|
|
}
|