mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-28 13:05:16 +00:00
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
numpy,
|
|
scipy,
|
|
pandas,
|
|
matplotlib,
|
|
seaborn,
|
|
tqdm,
|
|
sortedcontainers,
|
|
dill,
|
|
casadi,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aerosandbox";
|
|
version = "4.2.8";
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
pname = "AeroSandbox";
|
|
inherit (finalAttrs) version;
|
|
format = "wheel";
|
|
|
|
python = "py3";
|
|
dist = "py3";
|
|
hash = "sha256-+rrZzaBWyc9a20bUlsB0iDqYkn+ldlKT0lFfCy2yeXk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
dependencies = [
|
|
numpy
|
|
scipy
|
|
pandas
|
|
matplotlib
|
|
seaborn
|
|
tqdm
|
|
sortedcontainers
|
|
dill
|
|
casadi
|
|
];
|
|
|
|
pythonImportsCheck = [ "aerosandbox" ];
|
|
|
|
pythonRemoveDeps = [
|
|
# infinite recursion
|
|
"neuralfoil"
|
|
# not pypa-installed, so no metadata
|
|
# good candidate for https://github.com/NixOS/nixpkgs/pull/518530
|
|
"casadi"
|
|
];
|
|
|
|
meta = {
|
|
description = "Aircraft design optimization made fast through modern automatic differentiation";
|
|
homepage = "https://peterdsharpe.github.io/AeroSandbox";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
};
|
|
})
|