python312Packages.pint-xarray: init at 0.4 (#377344)
[NixPkgs.git] / pkgs / development / python-modules / vnoise / default.nix
blob169f5b3fd61b2a9ddee476742d48351948c196d8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   numpy,
6   pytestCheckHook,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "vnoise";
12   version = "0.1.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "plottertools";
17     repo = "vnoise";
18     rev = version;
19     hash = "sha256-nflAh3vj48wneM0wy/+M+XD6GC63KZEIFb1x4SS46YI=";
20   };
22   nativeBuildInputs = [ setuptools ];
24   propagatedBuildInputs = [ numpy ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "vnoise" ];
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   };