2021-10-11 10:27:11 +02:00
|
|
|
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
|
2021-10-15 16:18:03 +02:00
|
|
|
h5py
|
|
|
|
sqlitedict
|
2021-10-11 10:27:11 +02:00
|
|
|
'';
|
|
|
|
ignoreCollisions = true;
|
|
|
|
}
|