567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
40 lines
777 B
Nix
40 lines
777 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
tkinter,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "guppy3";
|
|
version = "3.1.5";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zhuyifei1999";
|
|
repo = "guppy3";
|
|
tag = "v${version}";
|
|
hash = "sha256-hgJcy4DRfZL50dCcRv2a6GJPDabsUMfDtq7HCXXYYz8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ tkinter ];
|
|
|
|
# Tests are starting a Tkinter GUI
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "guppy" ];
|
|
|
|
meta = {
|
|
description = "Python Programming Environment & Heap analysis toolset";
|
|
homepage = "https://zhuyifei1999.github.io/guppy3/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|