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

43 lines
851 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 = "A 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 ];
};
}