Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
862 B
Nix
40 lines
862 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|