depot/third_party/nixpkgs/pkgs/development/python-modules/rowan/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

43 lines
849 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
, scipy
, numpy
}:
buildPythonPackage rec {
pname = "rowan";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "glotzerlab";
repo = "rowan";
rev = "v${version}";
hash = "sha256-klIqyX04w1xYmYtAbLF5jwpcJ83oKOaENboxyCL70EY=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
scipy
];
propagatedBuildInputs = [
numpy
];
pythonImportsCheck = [ "rowan" ];
meta = with lib; {
description = "Python package for working with quaternions";
homepage = "https://github.com/glotzerlab/rowan";
changelog = "https://github.com/glotzerlab/rowan/blob/${src.rev}/ChangeLog.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ doronbehar ];
};
}