Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7 tkinter, 8}: 9 10buildPythonPackage rec { 11 pname = "guppy3"; 12 version = "3.1.4.post1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "zhuyifei1999"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-HHy57P6WEHZKygAbdjEh6XAApFlQueiYGr02eSQMWfc="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ tkinter ]; 27 28 # Tests are starting a Tkinter GUI 29 doCheck = false; 30 pythonImportsCheck = [ "guppy" ]; 31 32 meta = with lib; { 33 description = "Python Programming Environment & Heap analysis toolset"; 34 homepage = "https://zhuyifei1999.github.io/guppy3/"; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}