Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 715 B view raw
1{ lib 2, isPy3k 3, buildPythonPackage 4, fetchPypi 5, pytestrunner 6, setuptools_scm 7, isort 8, mpmath 9, strategies 10}: 11 12buildPythonPackage rec { 13 pname = "diofant"; 14 version = "0.10.0"; 15 16 src = fetchPypi { 17 inherit version; 18 pname = "Diofant"; 19 sha256 = "0qjg0mmz2cqxryr610mppx3virf1gslzrsk24304502588z53v8w"; 20 }; 21 22 nativeBuildInputs = [ 23 isort 24 pytestrunner 25 setuptools_scm 26 ]; 27 28 propagatedBuildInputs = [ 29 mpmath 30 strategies 31 ]; 32 33 # tests take ~1h 34 doCheck = false; 35 36 disabled = !isPy3k; 37 38 meta = with lib; { 39 description = "A Python CAS library"; 40 homepage = "https://diofant.readthedocs.io/"; 41 license = licenses.bsd3; 42 maintainers = with maintainers; [ suhr ]; 43 }; 44}