nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 fst-pso,
6 numpy,
7 pandas,
8 scipy,
9 setuptools,
10 simpful,
11 typing-extensions,
12}:
13
14buildPythonPackage rec {
15 pname = "pyfume";
16 version = "0.3.4";
17 pyproject = true;
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-UwW5OwFfu01lDKwz72iB2egbOoxb+t8UnEFIUjZmffU=";
22 };
23
24 nativeBuildInputs = [ setuptools ];
25
26 pythonRelaxDeps = [
27 "fst-pso"
28 "numpy"
29 "pandas"
30 "scipy"
31 ];
32
33 propagatedBuildInputs = [
34 fst-pso
35 numpy
36 pandas
37 scipy
38 simpful
39 typing-extensions
40 ];
41
42 # Module has not test
43 doCheck = false;
44
45 pythonImportsCheck = [ "pyfume" ];
46
47 meta = {
48 description = "Python package for fuzzy model estimation";
49 homepage = "https://github.com/CaroFuchs/pyFUME";
50 changelog = "https://github.com/CaroFuchs/pyFUME/releases/tag/${version}";
51 license = lib.licenses.gpl3Only;
52 maintainers = with lib.maintainers; [ fab ];
53 };
54}