My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/niapy/default.nix

47 lines
805 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, openpyxl
, pandas
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "niapy";
version = "2.0.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "NiaOrg";
repo = "NiaPy";
rev = "refs/tags/${version}";
hash = "sha256-h3bCitNFjw2WQtsQFR25VJlNVMojdfik+lrPMKwp8Mw=";
};
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 ];
};
}