1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 08:59:20 +03:00
nixpkgs/pkgs/development/python-modules/perfplot/default.nix

49 lines
827 B
Nix
Raw Normal View History

2019-05-20 10:54:54 -04:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, dufte
2019-05-20 10:54:54 -04:00
, matplotlib
, numpy
, pipdate
, tqdm
, rich
, pytestCheckHook
, pythonOlder
2019-05-20 10:54:54 -04:00
}:
buildPythonPackage rec {
pname = "perfplot";
version = "0.9.8";
disabled = pythonOlder "3.7";
2019-05-20 10:54:54 -04:00
src = fetchFromGitHub {
owner = "nschloe";
repo = pname;
rev = version;
sha256 = "17dpgd27ik7ka7xpk3mj3anbjj62lwygy1vxlmrmk8xbhrqkim8d";
2019-05-20 10:54:54 -04:00
};
format = "pyproject";
2019-05-20 10:54:54 -04:00
propagatedBuildInputs = [
dufte
2019-05-20 10:54:54 -04:00
matplotlib
numpy
pipdate
rich
2019-05-20 10:54:54 -04:00
tqdm
];
checkInputs = [
pytestCheckHook
2019-05-20 10:54:54 -04:00
];
pythonImportsCheck = [ "perfplot" ];
2019-05-20 10:54:54 -04:00
meta = with lib; {
description = "Performance plots for Python code snippets";
homepage = "https://github.com/nschloe/perfplot";
2019-05-20 10:54:54 -04:00
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
2019-05-20 10:54:54 -04:00
};
}