at 24.11-pre 51 lines 1.1 kB view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 pandas, 7 numpy, 8 scipy, 9 filelock, 10 pytest, 11 nose, 12 parameterized, 13}: 14 15buildPythonPackage rec { 16 pname = "theano-pymc"; 17 version = "1.1.2"; 18 format = "setuptools"; 19 disabled = pythonOlder "3.6"; 20 21 src = fetchPypi { 22 pname = "Theano-PyMC"; 23 inherit version; 24 sha256 = "5da6c2242ea72a991c8446d7fe7d35189ea346ef7d024c890397011114bf10fc"; 25 }; 26 27 # No need for coverage stats in Nix builds 28 postPatch = '' 29 substituteInPlace setup.py --replace ", 'pytest-cov'" "" 30 ''; 31 32 propagatedBuildInputs = [ 33 pandas 34 numpy 35 scipy 36 filelock 37 ]; 38 39 # The test suite is computationally intensive and test failures are not 40 # indicative for package usability hence tests are disabled by default. 41 doCheck = false; 42 pythonImportsCheck = [ "theano" ]; 43 44 meta = { 45 description = "PyMC theano fork"; 46 homepage = "https://github.com/majidaldo/Theano-PyMC"; 47 license = lib.licenses.asl20; 48 maintainers = with lib.maintainers; [ nidabdella ]; 49 broken = true; 50 }; 51}