summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/labmath/default.nix
blob: 8ace5b3327e1d1e0dc8318c6a047ba3e1e901ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:

buildPythonPackage rec {
  pname = "labmath";
  version = "2.2.0";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-dzJ4szPxnck0Cgc5IEp5FBmHvIyAC0rqKRVrkt20ntQ=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  pythonImportsCheck = [ "labmath" ];

  meta = with lib; {
    homepage = "https://pypi.org/project/labmath";
    description = "Module for basic math in the general vicinity of computational number theory";
    license = licenses.mit;
    maintainers = with maintainers; [ siraben ];
  };
}