python312Packages.neurafoil: init at 0.2.3

This commit is contained in:
Sigmanificient
2024-08-20 03:55:12 +02:00
parent 9635ec4e5c
commit ac46298288
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
numpy,
aerosandbox,
pytestCheckHook,
}:
buildPythonPackage {
pname = "neuralfoil";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "peterdsharpe";
repo = "NeuralFoil";
rev = "46cda4041134d1b1794d3a81761d8d3e63f20855";
hash = "sha256-kbPHPJh8xcIdPYIiaxwYqpfcnYzzDD6F0tG3flR0j3M=";
};
build-system = [ setuptools ];
dependencies = [
numpy
aerosandbox
];
pythonImportsCheck = [ "neuralfoil" ];
nativeBuildInputs = [ pytestCheckHook ];
meta = {
description = "Airfoil aerodynamics analysis tool using physics-informed machine learning, in pure Python/NumPy";
homepage = "https://github.com/peterdsharpe/NeuralFoil";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
+2
View File
@@ -9098,6 +9098,8 @@ self: super: with self; {
networkx = callPackage ../development/python-modules/networkx { };
neuralfoil = callPackage ../development/python-modules/neuralfoil { };
neuron-full = pkgs.neuron-full.override { python3 = python; };
neuronpy = toPythonModule neuron-full;