16 buildPythonPackage rec {
21 disabled = pythonOlder "3.9";
23 src = fetchFromGitHub {
26 rev = "refs/tags/version_${version}";
27 sha256 = "sha256-FZipl6Z9AfiL6WH0kvUn8bVxt8JLdDVlmTSqnyxe0nY=";
35 propagatedBuildInputs = [
42 # create niapy and torch dep version consistent
44 toml-adapt -path pyproject.toml -a change -dep niapy -ver X
45 toml-adapt -path pyproject.toml -a change -dep torch -ver X
53 pythonImportsCheck = [
58 description = "Designing and constructing neural network topologies using nature-inspired algorithms";
59 homepage = "https://github.com/SasoPavlic/NiaNet";
60 changelog = "https://github.com/SasoPavlic/NiaNet/releases/tag/v${version}";
61 license = licenses.mit;
62 maintainers = with maintainers; [ firefly-cpp ];