14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-Lt55HUTBmrg0IX9oWUdh5zyxccViKq0X+9bhDEgUZjQ=";
28 SETUPTOOLS_SCM_PRETEND_VERSION = version;
35 propagatedBuildInputs = [
46 pythonRelaxDeps = [ "numpy" "numba" ];
48 pythonImportsCheck = [ "galois" ];
51 description = "Python package that extends NumPy arrays to operate over finite fields";
52 homepage = "https://github.com/mhostetter/galois";
53 changelog = "https://github.com/mhostetter/galois/releases/tag/v${version}";
54 downloadPage = "https://github.com/mhostetter/galois/releases/tag/v${version}";
55 license = licenses.mit;
56 maintainers = with maintainers; [ chrispattison ];