Files
nixpkgs/pkgs/development/python-modules/quaternion/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

35 lines
675 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
oldest-supported-numpy,
scipy,
numba,
}:
buildPythonPackage rec {
pname = "quaternion";
version = "2023.0.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "moble";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-vSkFHYXcT14aW3OTfqYymVQbpWnKFEVkhh3IQTi5xS4=";
};
propagatedBuildInputs = [
oldest-supported-numpy
numba
scipy
];
meta = with lib; {
description = "Package add built-in support for quaternions to numpy";
homepage = "https://github.com/moble/quaternion";
license = licenses.mit;
maintainers = [ maintainers.ocfox ];
};
}