Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / labmath / default.nix
blob24018fd7420ec5edccb991695e3a62ce554659ea
1 { lib, buildPythonPackage, fetchPypi }:
3 buildPythonPackage rec {
4   pname = "labmath";
5   version = "1.2.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "sha256-/fZ61tJ6PVZsubr3OXlbg/VxyyKimz36uPV+r33kgD0=";
10   };
12   postPatch = ''
13     substituteInPlace setup.py --replace "labmath/DESCRIPTION.rst" "PKG-INFO"
14   '';
16   pythonImportsCheck = [ "labmath" ];
18   meta = with lib; {
19     homepage = "https://pypi.org/project/labmath";
20     description = "Module for basic math in the general vicinity of computational number theory";
21     license = licenses.mit;
22     maintainers = with maintainers; [ siraben ];
23   };