mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
pythonPackages.patsy: 0.3.0 -> 0.5.0
This commit is contained in:
parent
2eb42290e7
commit
4797fe8da4
36
pkgs/development/python-modules/patsy/default.nix
Normal file
36
pkgs/development/python-modules/patsy/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, nose
|
||||
, six
|
||||
, numpy
|
||||
, scipy # optional, allows spline-related features (see patsy's docs)
|
||||
, parameterized
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "patsy";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fw888zd2s7f5zxm9f98ss93qhwv0sqnbdy21ipj33ccqgakhpz0";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
@ -9673,24 +9673,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
patsy = buildPythonPackage rec {
|
||||
name = "patsy-${version}";
|
||||
version = "0.3.0";
|
||||
|
||||
src = pkgs.fetchurl{
|
||||
url = "mirror://pypi/p/patsy/${name}.zip";
|
||||
sha256 = "a55dd4ca09af4b9608b81f30322beb450510964c022708ab50e83a065ccf15f0";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
propagatedBuildInputs = with self; [six numpy];
|
||||
|
||||
meta = {
|
||||
description = "A Python package for describing statistical models";
|
||||
homepage = "https://github.com/pydata/patsy";
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
};
|
||||
patsy = callPackage ../development/python-modules/patsy { };
|
||||
|
||||
paste = buildPythonPackage rec {
|
||||
name = "paste-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user