2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "minidump";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.0.23";
|
|
|
|
pyproject = true;
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-R+tza5C/2egkajScmilp/8qowoSklYVfEB+f0KMNBqQ=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
# Upstream doesn't have tests
|
|
|
|
doCheck = false;
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "minidump" ];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library to parse and read Microsoft minidump file format";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "minidump";
|
2021-01-09 10:05:03 +00:00
|
|
|
homepage = "https://github.com/skelsec/minidump";
|
2024-01-02 11:29:13 +00:00
|
|
|
changelog = "https://github.com/skelsec/minidump/releases/tag/${version}";
|
2021-01-09 10:05:03 +00:00
|
|
|
license = with licenses; [ mit ];
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|