nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "labmath";
5 version = "2.2.0";
6 format = "pyproject";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "sha256-dzJ4szPxnck0Cgc5IEp5FBmHvIyAC0rqKRVrkt20ntQ=";
11 };
12
13 pythonImportsCheck = [ "labmath" ];
14
15 meta = with lib; {
16 homepage = "https://pypi.org/project/labmath";
17 description = "Module for basic math in the general vicinity of computational number theory";
18 license = licenses.mit;
19 maintainers = with maintainers; [ siraben ];
20 };
21}