depot/third_party/nixpkgs/pkgs/development/python-modules/perfplot/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

48 lines
827 B
Nix

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