at master 744 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "vnoise"; 12 version = "0.1.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "plottertools"; 17 repo = "vnoise"; 18 rev = version; 19 hash = "sha256-nflAh3vj48wneM0wy/+M+XD6GC63KZEIFb1x4SS46YI="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 propagatedBuildInputs = [ numpy ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "vnoise" ]; 29 30 meta = with lib; { 31 description = "Vectorized, pure-Python Perlin noise library"; 32 homepage = "https://github.com/plottertools/vnoise"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ SuperSandro2000 ]; 35 }; 36}