nixpkgs/pkgs/development/python-modules/patsy/default.nix
R. RyanTM 0a07d0a4f5 python36Packages.patsy: 0.5.0 -> 0.5.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-patsy/versions
2018-11-08 18:08:29 -08:00

37 lines
703 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, nose
, six
, numpy
, scipy # optional, allows spline-related features (see patsy's docs)
, parameterized
}:
buildPythonPackage rec {
pname = "patsy";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi";
};
checkInputs = [ nose parameterized ];
checkPhase = "nosetests -v";
propagatedBuildInputs = [
six
numpy
scipy
];
meta = {
description = "A Python package for describing statistical models";
homepage = https://github.com/pydata/patsy;
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ilya-kolpakov ];
};
}