summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/lightparam/default.nix
blob: 70467aadfc02d124096ac0600ea05594ae51141a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  isPy3k,
  ipython,
  ipywidgets,
  numpy,
  pyqt5,
}:

buildPythonPackage rec {
  pname = "lightparam";
  version = "0.4.6";
  format = "setuptools";
  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "portugueslab";
    repo = "lightparam";
    rev = "v${version}";
    sha256 = "13hlkvjcyz2lhvlfqyavja64jccbidshhs39sl4fibrn9iq34s3i";
  };

  propagatedBuildInputs = [
    ipython
    ipywidgets
    numpy
    pyqt5
  ];

  pythonImportsCheck = [ "lightparam" ];

  meta = {
    homepage = "https://github.com/portugueslab/lightparam";
    description = "Another attempt at parameters in Python";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tbenst ];
  };
}