python311Packages.minidump: refactor

This commit is contained in:
Fabian Affolter 2023-11-21 21:48:25 +01:00
parent 51ba15724b
commit 2ce07ddb77

View file

@ -2,12 +2,13 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "minidump"; pname = "minidump";
version = "0.0.22"; version = "0.0.22";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -16,6 +17,10 @@ buildPythonPackage rec {
hash = "sha256-PPvvvHz3WA67Vn2P7MIY+ChkjXrCOuTgj0KXr4B2mZ0="; hash = "sha256-PPvvvHz3WA67Vn2P7MIY+ChkjXrCOuTgj0KXr4B2mZ0=";
}; };
nativeBuildInputs = [
setuptools
];
# Upstream doesn't have tests # Upstream doesn't have tests
doCheck = false; doCheck = false;
@ -26,6 +31,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python library to parse and read Microsoft minidump file format"; description = "Python library to parse and read Microsoft minidump file format";
homepage = "https://github.com/skelsec/minidump"; homepage = "https://github.com/skelsec/minidump";
changelog = "https://github.com/skelsec/minidump/releases/tag/${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };