2021-02-16 17:04:54 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, tkinter
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "guppy3";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "3.1.3";
|
2021-02-16 17:04:54 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zhuyifei1999";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-i3WqXlNnNhBVw9rdnxnzQISFkZHBpc/gqG+rxOWPiyc=";
|
2021-02-16 17:04:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|