about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/paramz/default.nix
blob: 65cc79745caa3291800fc50b87f4e7228776874c (plain) (blame)
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
{ lib, stdenv, buildPythonPackage, fetchPypi, numpy, scipy, six, decorator, nose }:

buildPythonPackage rec {
  pname = "paramz";
  version = "0.9.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0917211c0f083f344e7f1bc997e0d713dbc147b6380bc19f606119394f820b9a";
  };

  propagatedBuildInputs = [ numpy scipy six decorator ];
  checkInputs = [ nose ];

  # Ran 113 tests in 3.082s
  checkPhase = ''
      nosetests -v paramz/tests
  '';

  meta = with lib; {
    description = "Parameterization framework for parameterized model creation and handling";
    homepage = "https://github.com/sods/paramz";
    license = licenses.bsd3;
    maintainers = with maintainers; [ bcdarwin ];
  };
}