python3Packages.theano-pymc 1.1.2

[UPDATE] theano-pymc file

python3Packages.theano-pymc 1.1.2

update depndencies

update depndencies

update depndencies
This commit is contained in:
mohamed 2022-02-23 17:50:22 +01:00
parent c32d5cf7ca
commit dd24ce20a2
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, pandas
, numpy
, scipy
, filelock
, pytest
, nose
, parameterized
}:
buildPythonPackage rec {
pname = "theano-pymc";
version = "1.1.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "Theano-PyMC";
inherit version;
sha256 = "5da6c2242ea72a991c8446d7fe7d35189ea346ef7d024c890397011114bf10fc";
};
# No need for coverage stats in Nix builds
postPatch = ''
substituteInPlace setup.py --replace ", 'pytest-cov'" ""
'';
propagatedBuildInputs = [
pandas
numpy
scipy
filelock
];
# The test suite is computationally intensive and test failures are not
# indicative for package usability hence tests are disabled by default.
doCheck = false;
pythonImportsCheck = [ "theano" ];
meta = {
description = "PyMC theano fork";
homepage = "https://github.com/majidaldo/Theano-PyMC";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nidabdella ];
};
}

View File

@ -9854,6 +9854,8 @@ in {
tgcrypto = callPackage ../development/python-modules/tgcrypto { };
theano-pymc = callPackage ../development/python-modules/theano-pymc { };
Theano = callPackage ../development/python-modules/Theano rec {
cudaSupport = pkgs.config.cudaSupport or false;
cudnnSupport = cudaSupport;