mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
33 lines
721 B
Nix
33 lines
721 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, tkinter
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "guppy3";
|
|
version = "3.1.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zhuyifei1999";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0yjsn8najbic4f50nj6jzhzrhj1bw6918w0gihdkzhqynwgqi64m";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|