depot/third_party/nixpkgs/pkgs/development/python-modules/minidump/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
809 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "minidump";
version = "0.0.23";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-R+tza5C/2egkajScmilp/8qowoSklYVfEB+f0KMNBqQ=";
};
nativeBuildInputs = [ setuptools ];
# Upstream doesn't have tests
doCheck = false;
pythonImportsCheck = [ "minidump" ];
meta = with lib; {
description = "Python library to parse and read Microsoft minidump file format";
mainProgram = "minidump";
homepage = "https://github.com/skelsec/minidump";
changelog = "https://github.com/skelsec/minidump/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}