Merge pull request #113019 from fabaff/guppy3
This commit is contained in:
commit
db201f5dc6
32
pkgs/development/python-modules/guppy3/default.nix
Normal file
32
pkgs/development/python-modules/guppy3/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -631,7 +631,7 @@
|
|||||||
"point" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pypoint
|
"point" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pypoint
|
||||||
"poolsense" = ps: with ps; [ poolsense ];
|
"poolsense" = ps: with ps; [ poolsense ];
|
||||||
"powerwall" = ps: with ps; [ ]; # missing inputs: tesla-powerwall
|
"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
|
"progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw
|
||||||
"proliphix" = ps: with ps; [ ]; # missing inputs: proliphix
|
"proliphix" = ps: with ps; [ ]; # missing inputs: proliphix
|
||||||
"prometheus" = ps: with ps; [ aiohttp-cors prometheus_client ];
|
"prometheus" = ps: with ps; [ aiohttp-cors prometheus_client ];
|
||||||
|
@ -2860,6 +2860,8 @@ in {
|
|||||||
else
|
else
|
||||||
callPackage ../development/python-modules/gunicorn { };
|
callPackage ../development/python-modules/gunicorn { };
|
||||||
|
|
||||||
|
guppy3 = callPackage ../development/python-modules/guppy3 { };
|
||||||
|
|
||||||
gurobipy = if stdenv.hostPlatform.system == "x86_64-darwin" then
|
gurobipy = if stdenv.hostPlatform.system == "x86_64-darwin" then
|
||||||
callPackage ../development/python-modules/gurobipy/darwin.nix { inherit (pkgs.darwin) cctools insert_dylib; }
|
callPackage ../development/python-modules/gurobipy/darwin.nix { inherit (pkgs.darwin) cctools insert_dylib; }
|
||||||
else if stdenv.hostPlatform.system == "x86_64-linux" then
|
else if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user