1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "minidump";
11 version = "0.0.23";
12 pyproject = true;
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-R+tza5C/2egkajScmilp/8qowoSklYVfEB+f0KMNBqQ=";
19 };
20
21 nativeBuildInputs = [ setuptools ];
22
23 # Upstream doesn't have tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "minidump" ];
27
28 meta = with lib; {
29 description = "Python library to parse and read Microsoft minidump file format";
30 mainProgram = "minidump";
31 homepage = "https://github.com/skelsec/minidump";
32 changelog = "https://github.com/skelsec/minidump/releases/tag/${version}";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ fab ];
35 };
36}