depot/third_party/nixpkgs/pkgs/development/python-modules/vnoise/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
736 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "vnoise";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "plottertools";
repo = "vnoise";
rev = version;
hash = "sha256-nflAh3vj48wneM0wy/+M+XD6GC63KZEIFb1x4SS46YI=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "vnoise" ];
meta = with lib; {
description = "Vectorized, pure-Python Perlin noise library";
homepage = "https://github.com/plottertools/vnoise";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}