depot/third_party/nixpkgs/pkgs/development/python-modules/niapy/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

47 lines
790 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, openpyxl
, pandas
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "niapy";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "NiaOrg";
repo = "NiaPy";
rev = version;
hash = "sha256-b/0TEO27fPuoPzkNBCwgUqBG+8htOR2ipFikpqjYdnM=";
};
propagatedBuildInputs = [
matplotlib
numpy
openpyxl
pandas
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"niapy"
];
meta = with lib; {
description = "Micro framework for building nature-inspired algorithms";
homepage = "https://niapy.org/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}