python312Packages.noise: refactor (#341394)
This commit is contained in:
commit
f22eeb0a50
@ -2,22 +2,33 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "noise";
|
||||
version = "1.2.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rcv40dcshqpchwkdlhsv3n68h9swm9fh4d1cgzr2hsp6rs7k8jp";
|
||||
hash = "sha256-V6J5dDZXQ5H/Y6ER6FLlOkFk7Nga0jY5ZBdDzRogm2U=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# PyPI release don't contain tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "noise" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/caseman/noise";
|
||||
description = "Native-code and shader implementations of Perlin noise";
|
||||
homepage = "https://github.com/caseman/noise";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user