default.nix (636B)
1 { lib, python3Packages, fetchFromGitHub, poetry }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "pnoise"; 5 version = "0.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "plottertools"; 9 repo = "pnoise"; 10 rev = version; 11 hash = "sha256-JwWzLvgCNSLRs/ToZNFH6fN6VLEsQTmsgxxkugwjA9k="; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ numpy ]; 15 16 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 17 18 meta = with lib; { 19 description = "Vectorized port of Processing noise() function"; 20 inherit (src.meta) homepage; 21 license = licenses.lgpl2Plus; 22 maintainers = [ maintainers.sikmir ]; 23 }; 24 }