python3Packages.guppy3: init at 3.1.0

This commit is contained in:
Fabian Affolter 2021-02-13 18:06:42 +01:00
parent 5852a21819
commit 920aefdde6
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ 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 ];
};
}

View file

@ -2854,6 +2854,8 @@ in {
else
callPackage ../development/python-modules/gunicorn { };
guppy3 = callPackage ../development/python-modules/guppy3 { };
gurobipy = if stdenv.hostPlatform.system == "x86_64-darwin" then
callPackage ../development/python-modules/gurobipy/darwin.nix { inherit (pkgs.darwin) cctools insert_dylib; }
else if stdenv.hostPlatform.system == "x86_64-linux" then