nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 31 lines 595 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "noise"; 10 version = "1.2.2"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-V6J5dDZXQ5H/Y6ER6FLlOkFk7Nga0jY5ZBdDzRogm2U="; 16 }; 17 18 build-system = [ setuptools ]; 19 20 # PyPI release don't contain tests 21 doCheck = false; 22 23 pythonImportsCheck = [ "noise" ]; 24 25 meta = { 26 description = "Native-code and shader implementations of Perlin noise"; 27 homepage = "https://github.com/caseman/noise"; 28 license = lib.licenses.mit; 29 maintainers = [ ]; 30 }; 31}