tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.neurafoil: init at 0.2.3
Sigmanificient
2 years ago
ac462982
9635ec4e
+41
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
neuralfoil
default.nix
top-level
python-packages.nix
+39
pkgs/development/python-modules/neuralfoil/default.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
setuptools,
6
6
+
numpy,
7
7
+
aerosandbox,
8
8
+
pytestCheckHook,
9
9
+
}:
10
10
+
11
11
+
buildPythonPackage {
12
12
+
pname = "neuralfoil";
13
13
+
version = "0.2.3";
14
14
+
pyproject = true;
15
15
+
16
16
+
src = fetchFromGitHub {
17
17
+
owner = "peterdsharpe";
18
18
+
repo = "NeuralFoil";
19
19
+
rev = "46cda4041134d1b1794d3a81761d8d3e63f20855";
20
20
+
hash = "sha256-kbPHPJh8xcIdPYIiaxwYqpfcnYzzDD6F0tG3flR0j3M=";
21
21
+
};
22
22
+
23
23
+
build-system = [ setuptools ];
24
24
+
dependencies = [
25
25
+
numpy
26
26
+
aerosandbox
27
27
+
];
28
28
+
29
29
+
pythonImportsCheck = [ "neuralfoil" ];
30
30
+
31
31
+
nativeBuildInputs = [ pytestCheckHook ];
32
32
+
33
33
+
meta = {
34
34
+
description = "Airfoil aerodynamics analysis tool using physics-informed machine learning, in pure Python/NumPy";
35
35
+
homepage = "https://github.com/peterdsharpe/NeuralFoil";
36
36
+
license = lib.licenses.mit;
37
37
+
maintainers = with lib.maintainers; [ sigmanificient ];
38
38
+
};
39
39
+
}
+2
pkgs/top-level/python-packages.nix
···
9098
9098
9099
9099
networkx = callPackage ../development/python-modules/networkx { };
9100
9100
9101
9101
+
neuralfoil = callPackage ../development/python-modules/neuralfoil { };
9102
9102
+
9101
9103
neuron-full = pkgs.neuron-full.override { python3 = python; };
9102
9104
9103
9105
neuronpy = toPythonModule neuron-full;