default.nix (724B)
1 { 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "pnoise"; 9 version = "0.2.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "plottertools"; 14 repo = "pnoise"; 15 tag = version; 16 hash = "sha256-JwWzLvgCNSLRs/ToZNFH6fN6VLEsQTmsgxxkugwjA9k="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ numpy ]; 22 23 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 24 25 meta = { 26 description = "Vectorized port of Processing noise() function"; 27 homepage = "https://github.com/plottertools/pnoise"; 28 license = lib.licenses.lgpl2Plus; 29 maintainers = [ lib.maintainers.sikmir ]; 30 }; 31 }