mirror of
https://github.com/vale981/master-thesis
synced 2025-03-06 10:31:37 -05:00
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
|
let
|
||
|
mach-nix = import (builtins.fetchGit {
|
||
|
url = "https://github.com/DavHau/mach-nix";
|
||
|
ref = "refs/tags/3.3.0";
|
||
|
}) {
|
||
|
python = "python39";
|
||
|
};
|
||
|
fcSpline = (mach-nix.buildPythonPackage
|
||
|
{src="https://github.com/cimatosa/fcSpline/tarball/master";
|
||
|
pname="fcSpline";
|
||
|
version="0.1";
|
||
|
requirements=''
|
||
|
numpy
|
||
|
cython
|
||
|
setuptools
|
||
|
scipy
|
||
|
'';
|
||
|
});
|
||
|
in
|
||
|
mach-nix.mkPythonShell {
|
||
|
packagesExtra = [
|
||
|
fcSpline
|
||
|
(mach-nix.buildPythonPackage
|
||
|
{src="https://github.com/cimatosa/stocproc/tarball/master";
|
||
|
pname="stocproc";
|
||
|
packagesExtra = [fcSpline];
|
||
|
# buildInputs.add = [fcSpline];
|
||
|
version = "1.0.0";
|
||
|
requirements = ''
|
||
|
numpy
|
||
|
cython
|
||
|
setuptools
|
||
|
mpmath
|
||
|
scipy
|
||
|
'';
|
||
|
})
|
||
|
];
|
||
|
_.stocproc.buildInputs.add = [fcSpline];
|
||
|
_.stocproc.patches = [./stocproc.patch];
|
||
|
requirements = ''
|
||
|
numpy
|
||
|
jupyter-spaces
|
||
|
ptpython
|
||
|
jedi
|
||
|
black
|
||
|
flake8
|
||
|
matplotlib
|
||
|
scipy
|
||
|
jupyter
|
||
|
'';
|
||
|
ignoreCollisions = true;
|
||
|
}
|