1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "noise";
11 version = "1.2.2";
12 pyproject = true;
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-V6J5dDZXQ5H/Y6ER6FLlOkFk7Nga0jY5ZBdDzRogm2U=";
19 };
20
21 build-system = [ setuptools ];
22
23 # PyPI release don't contain tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "noise" ];
27
28 meta = with lib; {
29 description = "Native-code and shader implementations of Perlin noise";
30 homepage = "https://github.com/caseman/noise";
31 license = licenses.mit;
32 maintainers = [ ];
33 };
34}