summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/noise/default.nix
blob: 919decedae6bb19ac4d78fd24dc350c0b5098aa3 (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
30
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage rec {
  pname = "noise";
  version = "1.2.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-V6J5dDZXQ5H/Y6ER6FLlOkFk7Nga0jY5ZBdDzRogm2U=";
  };

  build-system = [ setuptools ];

  # PyPI release don't contain tests
  doCheck = false;

  pythonImportsCheck = [ "noise" ];

  meta = {
    description = "Native-code and shader implementations of Perlin noise";
    homepage = "https://github.com/caseman/noise";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}