3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #113019 from fabaff/guppy3

This commit is contained in:
Sandro 2021-02-14 03:02:50 +01:00 committed by GitHub
commit db201f5dc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 1 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

@ -631,7 +631,7 @@
"point" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pypoint
"poolsense" = ps: with ps; [ poolsense ];
"powerwall" = ps: with ps; [ ]; # missing inputs: tesla-powerwall
"profiler" = ps: with ps; [ objgraph pyprof2calltree ]; # missing inputs: guppy3
"profiler" = ps: with ps; [ guppy3 objgraph pyprof2calltree ];
"progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw
"proliphix" = ps: with ps; [ ]; # missing inputs: proliphix
"prometheus" = ps: with ps; [ aiohttp-cors prometheus_client ];

View file

@ -2860,6 +2860,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