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

38 lines
815 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
tkinter,
}:
buildPythonPackage rec {
pname = "guppy3";
version = "3.1.4.post1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "zhuyifei1999";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-HHy57P6WEHZKygAbdjEh6XAApFlQueiYGr02eSQMWfc=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ tkinter ];
# Tests are starting a Tkinter GUI
doCheck = false;
pythonImportsCheck = [ "guppy" ];
meta = with lib; {
description = "Python Programming Environment & Heap analysis toolset";
homepage = "https://zhuyifei1999.github.io/guppy3/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}