depot/third_party/nixpkgs/pkgs/development/python-modules/diofant/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

44 lines
715 B
Nix

{ lib
, isPy3k
, buildPythonPackage
, fetchPypi
, pytestrunner
, setuptools_scm
, isort
, mpmath
, strategies
}:
buildPythonPackage rec {
pname = "diofant";
version = "0.10.0";
src = fetchPypi {
inherit version;
pname = "Diofant";
sha256 = "0qjg0mmz2cqxryr610mppx3virf1gslzrsk24304502588z53v8w";
};
nativeBuildInputs = [
isort
pytestrunner
setuptools_scm
];
propagatedBuildInputs = [
mpmath
strategies
];
# tests take ~1h
doCheck = false;
disabled = !isPy3k;
meta = with lib; {
description = "A Python CAS library";
homepage = "https://diofant.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ suhr ];
};
}