Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / niapy / default.nix
blobc05c0fb25a74d5630e249950b3db3b150dce9cd6
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , matplotlib
5 , numpy
6 , openpyxl
7 , pandas
8 , poetry-core
9 , pytestCheckHook
10 , pythonOlder
13 buildPythonPackage rec {
14   pname = "niapy";
15   version = "2.1.0";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "NiaOrg";
22     repo = "NiaPy";
23     rev = "refs/tags/${version}";
24     hash = "sha256-cT5CU1r3LZ9ValJwRUA0PaISmF6kXAz40alXbWYogGA=";
25   };
27   nativeBuildInputs = [
28     poetry-core
29   ];
31   propagatedBuildInputs = [
32     matplotlib
33     numpy
34     openpyxl
35     pandas
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "niapy"
44   ];
46   meta = with lib; {
47     description = "Micro framework for building nature-inspired algorithms";
48     homepage = "https://niapy.org/";
49     changelog = "https://github.com/NiaOrg/NiaPy/releases/tag/${version}";
50     license = licenses.mit;
51     maintainers = with maintainers; [ fab ];
52   };