159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
36 lines
794 B
Nix
36 lines
794 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "minidump";
|
|
version = "0.0.24";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-964JuUTzsXzPXOzGb5/1p6RbBTR0oTrrAS9MkgRHBDc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# Upstream doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "minidump" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to parse and read Microsoft minidump file format";
|
|
homepage = "https://github.com/skelsec/minidump";
|
|
changelog = "https://github.com/skelsec/minidump/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "minidump";
|
|
};
|
|
}
|